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