#ifndef __GTKCOMBOBOXH__
#define __GTKCOMBOBOXH__
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "combobox.h"
#endif
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;
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();