Skip to content

Commit

Permalink
Update WX to 3.2.2 part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
make-42 committed May 7, 2023
1 parent 8cf7e96 commit c720241
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/picotorrent/ui/dialogs/createtorrentdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ CreateTorrentDialog::CreateTorrentDialog(wxWindow* parent, wxWindowID id, std::s

auto optionsSizer = new wxStaticBoxSizer(wxHORIZONTAL, this, i18n("options"));
m_mode = new wxChoice(optionsSizer->GetStaticBox(), wxID_ANY);
m_mode->Append({ i18n("mode_v1"), i18n("mode_hybrid"), i18n("mode_v2") });
m_mode->Append(i18n("mode_v1"));
m_mode->Append(i18n("mode_hybrid"));
m_mode->Append(i18n("mode_v2"));
m_mode->Select(1);

m_private = new wxCheckBox(optionsSizer->GetStaticBox(), wxID_ANY, i18n("private"));
Expand Down

0 comments on commit c720241

Please sign in to comment.