]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/collpaneg.h
in debug mode when clicking with the middle mouse button draw borders around all...
[wxWidgets.git] / include / wx / generic / collpaneg.h
index 5df9de8f43010ece831fac965bd5a7f6e9827bcd..b25c39db4ec9b8d6cb832431838fc9413f76db08 100644 (file)
@@ -71,7 +71,7 @@ public:
 
     // for the generic collapsible pane only:
     wxControl* GetControlWidget() const
-        { return m_pButton; }
+        { return (wxControl*)m_pButton; }
 
     // implementation only, don't use
     void OnStateChange(const wxSize& sizeNew);