From: Robert Roebling Date: Sat, 8 Dec 2007 10:43:38 +0000 (+0000) Subject: Derive from wxToggleButtonBase X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a0b575116060526bf26554a2fe5d29ec2c0bc693 Derive from wxToggleButtonBase git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index 8680717340..a042b9e83b 100644 --- a/include/wx/msw/tglbtn.h +++ b/include/wx/msw/tglbtn.h @@ -16,7 +16,7 @@ extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[]; // Checkbox item (single checkbox) -class WXDLLEXPORT wxToggleButton : public wxControl +class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase { public: wxToggleButton() {} diff --git a/include/wx/os2/tglbtn.h b/include/wx/os2/tglbtn.h index 4c537db355..a8a1e6d1c5 100644 --- a/include/wx/os2/tglbtn.h +++ b/include/wx/os2/tglbtn.h @@ -16,7 +16,7 @@ extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[]; // Checkbox item (single checkbox) -class WXDLLEXPORT wxToggleButton : public wxControl +class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase { public: wxToggleButton() {}