]> git.saurik.com Git - wxWidgets.git/commitdiff
blind fix for wxMac
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 1 Feb 2009 20:59:03 +0000 (20:59 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 1 Feb 2009 20:59:03 +0000 (20:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);