]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/combobox.cpp
Workaround for Ctrl-A giving a keycode of 1 in EVT_KEY_DOWN on wxGTK
[wxWidgets.git] / samples / widgets / combobox.cpp
index 0abec9073457d4688a498dcad47c206422e15be6..365b2778f015bbebe3c7502c49e865b429827df9 100644 (file)
@@ -24,6 +24,8 @@
     #pragma hdrstop
 #endif
 
     #pragma hdrstop
 #endif
 
+#if wxUSE_COMBOBOX
+
 // for all others, include the necessary headers
 #ifndef WX_PRECOMP
     #include "wx/log.h"
 // for all others, include the necessary headers
 #ifndef WX_PRECOMP
     #include "wx/log.h"
@@ -492,3 +494,5 @@ void ComboboxWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& event)
     CreateCombo();
 }
 
     CreateCombo();
 }
 
+#endif //wxUSE_COMBOBOX
+