/////////////////////////////////////////////////////////////////////////////
-// Name: wx/mac/carbon/choice.h
+// Name: wx/osx/choice.h
// Purpose: wxChoice class
// Author: Stefan Csomor
// Modified by:
#include "wx/dynarray.h"
#include "wx/arrstr.h"
-WXDLLIMPEXP_DATA_CORE(extern const char) wxChoiceNameStr[];
-
WX_DEFINE_ARRAY( char * , wxChoiceDataArray ) ;
// Choice item
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 OSXHandleClicked( double timestampsec );
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