#include "wx/defs.h"
+#if wxUSE_COMBOBOX
+
#include "wx/object.h"
#include "wx/control.h"
//-----------------------------------------------------------------------------
extern const char* wxComboBoxNameStr;
-extern const char* wxEmptyString;
+extern const wxChar* wxEmptyString;
//-----------------------------------------------------------------------------
// wxComboBox
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 );
void SetEditable( bool editable );
void OnSize( wxSizeEvent &event );
+ void OnChar( wxKeyEvent &event );
// implementation
wxList m_clientDataList;
wxList m_clientObjectList;
+ void DisableEvents();
+ void EnableEvents();
void AppendCommon( const wxString &item );
GtkWidget* GetConnectWidget();
bool IsOwnGtkWindow( GdkWindow *window );
DECLARE_EVENT_TABLE()
};
+#endif
+
#endif
// __GTKCOMBOBOXH__