]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/collpaneg.h
Allow using wxGraphicsContext with MinGW if gdiplus.h is available.
[wxWidgets.git] / include / wx / generic / collpaneg.h
index e07130100406a8a66df28518ea4e94f036c0a542..b25c39db4ec9b8d6cb832431838fc9413f76db08 100644 (file)
@@ -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);