X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886dd7d28e50c003cc88b81b968d487a3c17b0d7..26dddf6c3455f95bef2dcb2a0a514fa0558b50ab:/include/wx/mac/combobox.h diff --git a/include/wx/mac/combobox.h b/include/wx/mac/combobox.h index 3da2f84e6a..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 @@ -22,7 +22,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxComboBoxNameStr; // Combobox item -class WXDLLEXPORT wxComboBox: public wxComboBoxBase , public wxControl +class WXDLLEXPORT wxComboBox : public wxControl, public wxComboBoxBase { DECLARE_DYNAMIC_CLASS(wxComboBox) @@ -95,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) ;