X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ec335db7806c058a02d022d2f75b4144ce69d2a..64ea838d8f4d1853b7d850db93ee565e901d099a:/include/wx/msw/choice.h?ds=sidebyside diff --git a/include/wx/msw/choice.h b/include/wx/msw/choice.h index c5cf8125be..d17e1c655d 100644 --- a/include/wx/msw/choice.h +++ b/include/wx/msw/choice.h @@ -66,6 +66,8 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr); + virtual bool Show(bool show = true); + virtual void SetLabel(const wxString& label); virtual unsigned int GetCount() const; @@ -124,6 +126,9 @@ protected: int width, int height, int sizeFlags = wxSIZE_AUTO); + // Show or hide the popup part of the control. + void MSWDoPopupOrDismiss(bool show); + // update the height of the drop down list to fit the number of items we // have (without changing the visible height) void MSWUpdateDropDownHeight();