]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choice.h
It was not acceptable to call the class method from the static initializer
[wxWidgets.git] / include / wx / choice.h
index 6b252d92a6b21811b3a3410a63e7c43fcb806a13..9decf2b7852a239780ae9bb6cf9058c87f8d6034 100644 (file)
@@ -47,7 +47,7 @@ public:
     // don't override this
     virtual void Select(int n) { SetSelection(n); }
 
-    // set/get the number of columns in the control (as they're not supporte on
+    // set/get the number of columns in the control (as they're not supported on
     // most platforms, they do nothing by default)
     virtual void SetColumns(int WXUNUSED(n) = 1 ) { }
     virtual int GetColumns() const { return 1 ; }
@@ -70,6 +70,8 @@ public:
     #include "wx/gtk/choice.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/choice.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/choice.h"
 #elif defined(__WXPM__)
     #include "wx/os2/choice.h"
 #endif