X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06cfab17389f4bbd38560dd86ee39931e979bb1e..85eb36c267bd325e113ee9e3b84f6b191ed116f2:/include/wx/gtk/combobox.h?ds=sidebyside diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 5e9e341fb3..a9910b78a3 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -18,8 +18,6 @@ #include "wx/defs.h" -#if wxUSE_COMBOBOX - #include "wx/object.h" #include "wx/control.h" @@ -34,7 +32,7 @@ class wxComboBox; //----------------------------------------------------------------------------- extern const char* wxComboBoxNameStr; -extern const char* wxEmptyString; +extern const wxChar* wxEmptyString; //----------------------------------------------------------------------------- // wxComboBox @@ -77,6 +75,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 ); @@ -104,6 +107,7 @@ public: void SetEditable( bool editable ); void OnSize( wxSizeEvent &event ); + void OnChar( wxKeyEvent &event ); // implementation @@ -119,10 +123,6 @@ public: DECLARE_EVENT_TABLE() }; -#endif - - // wxUSE_COMBOBOX - #endif // __GTKCOMBOBOXH__