X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/401eb3dec29c09b9afcc843842cba48b33a5089b..3b3fe1f6e766caf35aa3ff4ce0ac01d31699da71:/include/wx/gtk1/combobox.h?ds=inline diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index b0e0bea5e4..84e9e2be49 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 @@ -69,6 +69,10 @@ public: void Append( const wxString &item, void* clientData ); void Append( const wxString &item, wxClientData* clientData ); + void Insert( const wxString &item, int pos ); + void Insert( const wxString &item, int pos, void* clientData ); + void Insert( const wxString &item, int pos, wxClientData* clientData ); + void SetClientData( int n, void* clientData ); void* GetClientData( int n ); void SetClientObject( int n, wxClientData* clientData ); @@ -90,6 +94,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 +113,8 @@ public: // implementation + virtual void SetFocus(); + void OnSize( wxSizeEvent &event ); void OnChar( wxKeyEvent &event ); @@ -119,6 +126,7 @@ public: void DisableEvents(); void EnableEvents(); void AppendCommon( const wxString &item ); + void InsertCommon( const wxString &item, int pos ); GtkWidget* GetConnectWidget(); bool IsOwnGtkWindow( GdkWindow *window ); void ApplyWidgetStyle();