]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/choiccmn.cpp
fixedb ug with normalization of UNC paths (patch 558701)
[wxWidgets.git] / src / common / choiccmn.cpp
index 2e0e59eb669702071af260ac9ff1c83edc1e195f..de1d8431a919a9e3b6717d5e013f370d0d3635ef 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_CHOICE
+
 #ifndef WX_PRECOMP
     #include "wx/choice.h"
 #endif
 // implementation
 // ============================================================================
 
+wxChoiceBase::~wxChoiceBase()
+{
+    // this destructor is required for Darwin
+}
+
 // ----------------------------------------------------------------------------
 // selection
 // ----------------------------------------------------------------------------
@@ -60,3 +67,6 @@ void wxChoiceBase::Command(wxCommandEvent& event)
     SetSelection(event.m_commandInt);
     (void)ProcessEvent(event);
 }
+
+#endif // wxUSE_CHOICE
+