]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/choice.h
Don't use "Cancel" button in the about dialog of the listctrl sample.
[wxWidgets.git] / include / wx / osx / choice.h
index e6c49aada957aae7070c95d4fcbbe6ad088000c4..720b9c509d543473695d9aaae2f136a9951e0439 100644 (file)
@@ -17,8 +17,6 @@
 #include  "wx/dynarray.h"
 #include  "wx/arrstr.h"
 
-WXDLLIMPEXP_DATA_CORE(extern const char) wxChoiceNameStr[];
-
 WX_DEFINE_ARRAY( char * , wxChoiceDataArray ) ;
 
 // Choice item
@@ -95,6 +93,10 @@ protected:
     wxArrayString m_strings;
     wxChoiceDataArray m_datas ;
     wxMenu*    m_popUpMenu ;
+
+private:
+    // This should be called when the number of items in the control changes.
+    void DoAfterItemCountChange();
 };
 
 #endif