]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/classic/choice.h
reuse operator bool() check in compatibility_iterator::IndexOf() instead of rewriting it
[wxWidgets.git] / include / wx / mac / classic / choice.h
index c5c0dde2f5c9d815f22f3c18a9408703a9104fe1..8a2fa8ae0c0dc23354f58387a84e3923aa529f95 100644 (file)
@@ -17,7 +17,7 @@
 #include  "wx/dynarray.h"
 #include  "wx/arrstr.h"
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxChoiceNameStr;
+WXDLLEXPORT_DATA(extern const wxChar) wxChoiceNameStr[];
 
 WX_DEFINE_ARRAY( char * , wxChoiceDataArray ) ;
 
@@ -75,7 +75,7 @@ public:
     virtual void Delete(int n);
     virtual void Clear();
 
-    virtual int GetCount() const ;
+    virtual size_t GetCount() const ;
     virtual int GetSelection() const ;
     virtual void SetSelection(int n);