summaryrefslogtreecommitdiff
path: root/shared/custom_combo_box.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shared/custom_combo_box.cpp')
-rw-r--r--shared/custom_combo_box.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/custom_combo_box.cpp b/shared/custom_combo_box.cpp
index a1f28b5c..f6084fdf 100644
--- a/shared/custom_combo_box.cpp
+++ b/shared/custom_combo_box.cpp
@@ -57,11 +57,11 @@ void CustomComboBox::OnKeyEvent(wxKeyEvent& event)
const int selectedItem = this->GetCurrentSelection();
if (0 <= selectedItem && selectedItem < static_cast<int>(this->GetCount()) &&
#if wxCHECK_VERSION(2, 9, 1)
- dropDownShown)
+ dropDownShown)
#else
- //what a mess...:
- (GetValue() != GetString(selectedItem) || //avoid problems when a character shall be deleted instead of list item
- GetValue() == wxEmptyString)) //exception: always allow removing empty entry
+ //what a mess...:
+ (GetValue() != GetString(selectedItem) || //avoid problems when a character shall be deleted instead of list item
+ GetValue() == wxEmptyString)) //exception: always allow removing empty entry
#endif
{
//save old (selected) value: deletion seems to have influence on this
bgstack15