X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac57418f39e9671c18b99942180563146625d3ae..6bbd334480935bcb47955797fa1f18cd8d9b21a8:/include/wx/gtk/combobox.h diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index acabf59f7d..a9910b78a3 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -18,8 +18,6 @@ #include "wx/defs.h" -#ifdef 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__