#endif
#include "wx/defs.h"
+
#include "wx/object.h"
#include "wx/list.h"
#include "wx/control.h"
// global data
//-----------------------------------------------------------------------------
-extern const char *wxChoiceNameStr;
+extern const wxChar *wxChoiceNameStr;
//-----------------------------------------------------------------------------
// wxChoice
class wxChoice : public wxControl
{
- DECLARE_DYNAMIC_CLASS(wxChoice)
-
public:
wxChoice();
wxChoice( wxWindow *parent, wxWindowID id,
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);
wxList m_clientDataList;
wxList m_clientObjectList;
+ void DisableEvents();
+ void EnableEvents();
void AppendCommon( const wxString &item );
void ApplyWidgetStyle();
+
+private:
+ DECLARE_DYNAMIC_CLASS(wxChoice)
};
+
#endif // __GTKCHOICEH__