X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..43c42c18d36c703a88b1b7b697bac27fe5608eca:/include/wx/osx/choice.h diff --git a/include/wx/osx/choice.h b/include/wx/osx/choice.h index 20421e046c..720b9c509d 100644 --- a/include/wx/osx/choice.h +++ b/include/wx/osx/choice.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/carbon/choice.h +// Name: wx/osx/choice.h // Purpose: wxChoice class // Author: Stefan Csomor // Modified by: @@ -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