X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ea93bd3601d181ab807a382e01df171caa680fd..e4c903b2ea42fe104ef50d0ea6028f14d8309dfa:/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);