diff options
Diffstat (limited to 'FreeFileSync/Source/ui/command_box.cpp')
-rw-r--r-- | FreeFileSync/Source/ui/command_box.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/FreeFileSync/Source/ui/command_box.cpp b/FreeFileSync/Source/ui/command_box.cpp index 7dc2607d..91061f08 100644 --- a/FreeFileSync/Source/ui/command_box.cpp +++ b/FreeFileSync/Source/ui/command_box.cpp @@ -22,15 +22,6 @@ inline wxString getSeparationLine() { return std::wstring(50, EM_DASH); } //no space between dashes! -std::vector<std::pair<wxString, Zstring>> getDefaultCommands() //(description/command) pairs -{ - return - { - //{_("System: Sleep"), Zstr("rundll32.exe powrprof.dll,SetSuspendState Sleep")}, - }; -} - - const wxEventType EVENT_VALIDATE_USER_SELECTION = wxNewEventType(); } @@ -45,8 +36,7 @@ CommandBox::CommandBox(wxWindow* parent, long style, const wxValidator& validator, const wxString& name) : - wxComboBox(parent, id, value, pos, size, n, choices, style, validator, name), - defaultCommands_(getDefaultCommands()) + wxComboBox(parent, id, value, pos, size, n, choices, style, validator, name) { //#################################### /*#*/ SetMinSize({fastFromDIP(150), -1}); //# workaround yet another wxWidgets bug: default minimum size is much too large for a wxComboBox |