From 608e58c2a27fec6fdb6f4f51a1ba3233387367c7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 2 Jun 2025 09:32:35 +0200 Subject: wip: use same ui in prefs + upload dlg --- src/wx/upload_destination_panel.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/wx/upload_destination_panel.cc') diff --git a/src/wx/upload_destination_panel.cc b/src/wx/upload_destination_panel.cc index 923b1b222..ab81103c5 100644 --- a/src/wx/upload_destination_panel.cc +++ b/src/wx/upload_destination_panel.cc @@ -27,6 +27,7 @@ #include +using std::string; using std::vector; using boost::optional; #if BOOST_VERSION >= 106100 @@ -67,6 +68,14 @@ UploadDestinationPanel::UploadDestinationPanel(wxWindow* parent) } +void +UploadDestinationPanel::set_selected(vector const& selected) +{ + for (auto // wip! + _list->SetItemState(); +} + + void UploadDestinationPanel::checkbox_changed() { -- cgit v1.2.3