]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/combobox.mm
tables can no longer be smaller than sum of their columns
[wxWidgets.git] / src / cocoa / combobox.mm
index 19575440febbe3e45d7e2e7654ec85d96d29ad6b..eb3f4b104f705f97c60ae898d6a200c66dfa9de9 100644 (file)
@@ -9,6 +9,10 @@
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+#include "wx/wxprec.h"
+
+#if wxUSE_COMBOBOX
+
 #include "wx/app.h"
 #include "wx/combobox.h"
 #include "wx/log.h"
@@ -59,7 +63,7 @@ wxString wxComboBox::GetStringSelection()
     return wxEmptyString;
 }
 
-void wxComboBox::SetStringSelection(wxString& selection)
+void wxComboBox::SetStringSelection(const wxString& selection)
 {
 }
 
@@ -123,3 +127,4 @@ wxClientData* wxComboBox::DoGetItemClientObject(int) const
     return NULL;
 }
 
+#endif //wxUSE_COMBOBOX