X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e71a0aa95f767ab0302607b3c94dc155d72d5e61..8e5ec9cc58bc1508aadf5bc2387609b245358a74:/include/wx/mac/combobox.h?ds=sidebyside diff --git a/include/wx/mac/combobox.h b/include/wx/mac/combobox.h index 5b73bc2b6b..e07db8a962 100644 --- a/include/wx/mac/combobox.h +++ b/include/wx/mac/combobox.h @@ -12,7 +12,7 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "combobox.h" #endif @@ -20,10 +20,9 @@ #include "wx/choice.h" WXDLLEXPORT_DATA(extern const wxChar*) wxComboBoxNameStr; -WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString; // Combobox item -class WXDLLEXPORT wxComboBox: public wxComboBoxBase , public wxControl +class WXDLLEXPORT wxComboBox : public wxControl, public wxComboBoxBase { DECLARE_DYNAMIC_CLASS(wxComboBox) @@ -96,6 +95,8 @@ class WXDLLEXPORT wxComboBox: public wxComboBoxBase , public wxControl virtual int GetCount() const { return m_choice->GetCount() ; } void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ) ; + wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST + protected: virtual int DoAppend(const wxString& item) ; virtual int DoInsert(const wxString& item, int pos) ;