X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30ed6e5c897215ee8647b7954ad933ed3a765738..b8be6ceacfa3ffb8304559d28e759c7b5613ec15:/include/wx/gtk1/combobox.h diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index 9dfb9e9c2e..65938c8636 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -12,7 +12,7 @@ #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "combobox.h" #endif @@ -65,13 +65,13 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxComboBoxNameStr); - void Append( const wxString &item ); - void Append( const wxString &item, void* clientData ); - void Append( const wxString &item, wxClientData* clientData ); + int Append( const wxString &item ); + int Append( const wxString &item, void* clientData ); + int 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 ); + int Insert( const wxString &item, int pos ); + int Insert( const wxString &item, int pos, void* clientData ); + int Insert( const wxString &item, int pos, wxClientData* clientData ); void SetClientData( int n, void* clientData ); void* GetClientData( int n ) const; @@ -125,8 +125,8 @@ public: void DisableEvents(); void EnableEvents(); - void AppendCommon( const wxString &item ); - void InsertCommon( const wxString &item, int pos ); + int AppendCommon( const wxString &item ); + int InsertCommon( const wxString &item, int pos ); GtkWidget* GetConnectWidget(); bool IsOwnGtkWindow( GdkWindow *window ); void ApplyWidgetStyle();