X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29006414014249ec3eb86e9c13da7f06b2741e3a..6a94433573bab16bcfe85985333323523e4b8517:/include/wx/gtk/choice.h diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 0a7eeca3d8..e405f01c72 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -15,6 +15,7 @@ #endif #include "wx/defs.h" + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" @@ -29,7 +30,7 @@ class wxChoice; // global data //----------------------------------------------------------------------------- -extern const char *wxChoiceNameStr; +extern const wxChar *wxChoiceNameStr; //----------------------------------------------------------------------------- // wxChoice @@ -69,6 +70,11 @@ public: 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); @@ -87,8 +93,11 @@ public: wxList m_clientDataList; wxList m_clientObjectList; + void DisableEvents(); + void EnableEvents(); void AppendCommon( const wxString &item ); void ApplyWidgetStyle(); }; + #endif // __GTKCHOICEH__