X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7737e2fd004685a23b18035545e3ed46515aab8a..a721fd82b7ca8c97048453d4aaff559e8f741d69:/include/wx/generic/collpaneg.h diff --git a/include/wx/generic/collpaneg.h b/include/wx/generic/collpaneg.h index 5df9de8f43..b25c39db4e 100644 --- a/include/wx/generic/collpaneg.h +++ b/include/wx/generic/collpaneg.h @@ -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);