]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/choiccmn.cpp
Fixed the drawing of the HRules so they don't try to iterate over all
[wxWidgets.git] / src / common / choiccmn.cpp
index 2e0e59eb669702071af260ac9ff1c83edc1e195f..06345dbdc6e7198961e0f1bd16b271a62036da2c 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_CHOICE
+
 #ifndef WX_PRECOMP
     #include "wx/choice.h"
 #endif
@@ -60,3 +62,6 @@ void wxChoiceBase::Command(wxCommandEvent& event)
     SetSelection(event.m_commandInt);
     (void)ProcessEvent(event);
 }
+
+#endif // wxUSE_CHOICE
+