]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/choice.h
PCH-less compilation fix
[wxWidgets.git] / include / wx / choice.h
index 16017f87ec36cc993b2e54820f1c35d6e6d32c69..164aac07a57849ca7f796389ea5d16a0861926e8 100644 (file)
@@ -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)
 };