X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2..c4e41ce37ac7bcb43663241439cee68ebeff7ffc:/include/wx/gtk1/combobox.h?ds=inline diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index e7be38f91b..63304d121f 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -12,7 +12,7 @@ #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "combobox.h" #endif @@ -33,7 +33,7 @@ class wxComboBox; // global data //----------------------------------------------------------------------------- -extern const char* wxComboBoxNameStr; +extern const wxChar* wxComboBoxNameStr; extern const wxChar* wxEmptyString; //----------------------------------------------------------------------------- @@ -90,6 +90,7 @@ public: int Number() const; void SetSelection( int n ); void SetStringSelection( const wxString &string ); + void SetString(int n, const wxString &text); wxString GetValue() const; void SetValue(const wxString& value); @@ -108,6 +109,8 @@ public: // implementation + virtual void SetFocus(); + void OnSize( wxSizeEvent &event ); void OnChar( wxKeyEvent &event );