]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/choice.h
No changes, just fix a typo in a comment in wx/docview.h.
[wxWidgets.git] / include / wx / osx / choice.h
index 829843be36a71743558ed2aae8b869294f8736b9..0e108f4552a35819893f234935625c68acbde2c7 100644 (file)
@@ -1,10 +1,9 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        wx/mac/carbon/choice.h
+// Name:        wx/osx/choice.h
 // Purpose:     wxChoice class
 // Author:      Stefan Csomor
 // Modified by:
 // Created:     1998-01-01
-// RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -17,8 +16,6 @@
 #include  "wx/dynarray.h"
 #include  "wx/arrstr.h"
 
-WXDLLIMPEXP_DATA_CORE(extern const char) wxChoiceNameStr[];
-
 WX_DEFINE_ARRAY( char * , wxChoiceDataArray ) ;
 
 // Choice item
@@ -77,8 +74,8 @@ public:
     virtual wxString GetString(unsigned int n) const ;
     virtual void SetString(unsigned int pos, const wxString& s);
     // osx specific event handling common for all osx-ports
-    
-    virtual bool        HandleClicked( double timestampsec );
+
+    virtual bool        OSXHandleClicked( double timestampsec );
 
 protected:
     virtual void DoDeleteOneItem(unsigned int n);
@@ -95,6 +92,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