From: Francesco Montorsi Date: Sun, 1 Feb 2009 16:26:38 +0000 (+0000) Subject: add GetControlWidget() accessor to the generic wxCollapsiblePane X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7737e2fd004685a23b18035545e3ed46515aab8a add GetControlWidget() accessor to the generic wxCollapsiblePane git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/collpaneg.h b/include/wx/generic/collpaneg.h index e071301004..5df9de8f43 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 m_pButton; } + // implementation only, don't use void OnStateChange(const wxSize& sizeNew);