// global data
// ----------------------------------------------------------------------------
-extern WXDLLEXPORT_DATA(const wxChar) wxChoiceNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxChoiceNameStr[];
// ----------------------------------------------------------------------------
// wxChoice allows to select one of a non-modifiable list of strings
// emulate selecting the item event.GetInt()
void Command(wxCommandEvent& event);
+ // override wxItemContainer::IsSorted
+ virtual bool IsSorted() const { return HasFlag(wxCB_SORT); }
+
private:
DECLARE_NO_COPY_CLASS(wxChoiceBase)
};