X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd0eed647daeb257f28699de879d2f4f5aeb7fb6..3c679789bdbc8b42b7b71828b0f02f97614ee574:/include/wx/gtk/combobox.h diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index e4b7d5e610..a9910b78a3 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -17,6 +17,7 @@ #endif #include "wx/defs.h" + #include "wx/object.h" #include "wx/control.h" @@ -31,7 +32,7 @@ class wxComboBox; //----------------------------------------------------------------------------- extern const char* wxComboBoxNameStr; -extern const char* wxEmptyString; +extern const wxChar* wxEmptyString; //----------------------------------------------------------------------------- // wxComboBox @@ -74,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 ); @@ -101,11 +107,13 @@ public: void SetEditable( bool editable ); void OnSize( wxSizeEvent &event ); + void OnChar( wxKeyEvent &event ); // implementation bool m_alreadySent; wxList m_clientDataList; + wxList m_clientObjectList; void AppendCommon( const wxString &item ); GtkWidget* GetConnectWidget(); @@ -115,4 +123,6 @@ public: DECLARE_EVENT_TABLE() }; -#endif // __GTKCOMBOBOXH__ +#endif + + // __GTKCOMBOBOXH__