X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac57418f39e9671c18b99942180563146625d3ae..7631a29204a5a6a14c3ab6697455c48928ba6600:/include/wx/gtk1/combobox.h?ds=sidebyside diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index acabf59f7d..a9910b78a3 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/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__