X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/687d733769cc797102a52c7cad8edd32be5a2f89..0ce742cf092c9244f27957e308c16f3c2631042d:/include/wx/gtk/combobox.h?ds=inline diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 7d7822f941..4fda5e81b8 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -18,6 +18,8 @@ #include "wx/defs.h" +#if wxUSE_COMBOBOX + #include "wx/object.h" #include "wx/control.h" @@ -32,7 +34,7 @@ class wxComboBox; //----------------------------------------------------------------------------- extern const char* wxComboBoxNameStr; -extern const char* wxEmptyString; +extern const wxChar* wxEmptyString; //----------------------------------------------------------------------------- // wxComboBox @@ -75,6 +77,11 @@ public: void SetClientObject( int n, wxClientData* clientData ); wxClientData* GetClientObject( int n ); + void SetClientObject( wxClientData *data ) { wxControl::SetClientObject( data ); } + wxClientData *GetClientObject() const { return wxControl::GetClientObject(); } + void SetClientData( void *data ) { wxControl::SetClientData( data ); } + void *GetClientData() const { return wxControl::GetClientData(); } + void Clear(); void Delete( int n ); @@ -102,6 +109,7 @@ public: void SetEditable( bool editable ); void OnSize( wxSizeEvent &event ); + void OnChar( wxKeyEvent &event ); // implementation @@ -109,6 +117,8 @@ public: wxList m_clientDataList; wxList m_clientObjectList; + void DisableEvents(); + void EnableEvents(); void AppendCommon( const wxString &item ); GtkWidget* GetConnectWidget(); bool IsOwnGtkWindow( GdkWindow *window ); @@ -117,6 +127,8 @@ public: DECLARE_EVENT_TABLE() }; +#endif + #endif // __GTKCOMBOBOXH__