GalleryDialog: Added process of the "Close" button

SavePresetDialog: To correct "darkmodding" the wxRadioBox was changed to the wxStaticBoxSizer with radio buttons
+ Some code cleaning
This commit is contained in:
YuSanka 2021-07-20 14:46:23 +02:00
parent bda128c166
commit 44f1dac8c7
6 changed files with 28 additions and 22 deletions

View file

@ -1397,7 +1397,7 @@ void MainFrame::init_menubar_as_editor()
}
windowMenu->AppendSeparator();
append_menu_item(windowMenu, wxID_ANY, _L("Modify Shapes Gallery") + "\tCtrl+G", _L("Open the dialog to modify shapes gallery"),
append_menu_item(windowMenu, wxID_ANY, _L("Modify Shapes Gallery"), _L("Open the dialog to modify shapes gallery"),
[this](wxCommandEvent&) {
GalleryDialog dlg(this, true);
if (dlg.ShowModal() == wxID_OK) {