]> git.saurik.com Git - wxWidgets.git/commitdiff
add GetControlWidget() accessor to the generic wxCollapsiblePane
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 1 Feb 2009 16:26:38 +0000 (16:26 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 1 Feb 2009 16:26:38 +0000 (16:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/collpaneg.h

index e07130100406a8a66df28518ea4e94f036c0a542..5df9de8f43010ece831fac965bd5a7f6e9827bcd 100644 (file)
@@ -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);