X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ea93bd3601d181ab807a382e01df171caa680fd..cde23b64b5194f0d71cf16c85ea33d28419c815f:/include/wx/generic/collpaneg.h diff --git a/include/wx/generic/collpaneg.h b/include/wx/generic/collpaneg.h index e071301004..b25c39db4e 100644 --- a/include/wx/generic/collpaneg.h +++ b/include/wx/generic/collpaneg.h @@ -68,6 +68,11 @@ public: virtual bool Layout(); + + // for the generic collapsible pane only: + wxControl* GetControlWidget() const + { return (wxControl*)m_pButton; } + // implementation only, don't use void OnStateChange(const wxSize& sizeNew);