X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..8e5ec9cc58bc1508aadf5bc2387609b245358a74:/include/wx/mac/combobox.h diff --git a/include/wx/mac/combobox.h b/include/wx/mac/combobox.h index fcdba4fef3..e07db8a962 100644 --- a/include/wx/mac/combobox.h +++ b/include/wx/mac/combobox.h @@ -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) ;