From: Gilles Depeyrot Date: Thu, 28 Jun 2001 06:24:17 +0000 (+0000) Subject: corrected control inheritance X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/505af178e72ed7a4d133c301d024976e188de354 corrected control inheritance git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/button.h b/include/wx/mac/button.h index b016c98338..680652b3e7 100644 --- a/include/wx/mac/button.h +++ b/include/wx/mac/button.h @@ -22,7 +22,7 @@ WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr; // Pushbutton -class WXDLLEXPORT wxButton: public wxControl +class WXDLLEXPORT wxButton: public wxButtonBase { DECLARE_DYNAMIC_CLASS(wxButton) public: diff --git a/include/wx/mac/stattext.h b/include/wx/mac/stattext.h index 3a7f3131c3..670d12cbf3 100644 --- a/include/wx/mac/stattext.h +++ b/include/wx/mac/stattext.h @@ -20,7 +20,7 @@ WXDLLEXPORT_DATA(extern const char*) wxStaticTextNameStr; -class WXDLLEXPORT wxStaticText: public wxControl +class WXDLLEXPORT wxStaticText: public wxStaticTextBase { DECLARE_DYNAMIC_CLASS(wxStaticText) public: