]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/combobox.cpp
do *NOT* make the window of the size of its parent initially, fixes missing EVT_SIZE...
[wxWidgets.git] / samples / widgets / combobox.cpp
index 0abec9073457d4688a498dcad47c206422e15be6..365b2778f015bbebe3c7502c49e865b429827df9 100644 (file)
@@ -24,6 +24,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_COMBOBOX
+
 // for all others, include the necessary headers
 #ifndef WX_PRECOMP
     #include "wx/log.h"
@@ -492,3 +494,5 @@ void ComboboxWidgetsPage::OnCheckOrRadioBox(wxCommandEvent& event)
     CreateCombo();
 }
 
+#endif //wxUSE_COMBOBOX
+