X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c63312c472c83be6d3b935f0ceeef484a7d611ce..c4fd5ede54cd84c4a682b4e94da330e7f1a8c7d4:/include/wx/choice.h diff --git a/include/wx/choice.h b/include/wx/choice.h index 16017f87ec..164aac07a5 100644 --- a/include/wx/choice.h +++ b/include/wx/choice.h @@ -55,6 +55,9 @@ public: // 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) };