From 45fc60b5495ea4130511814ec08daa6a34c75131 Mon Sep 17 00:00:00 2001 From: Graham Dawes Date: Mon, 7 Jan 2019 11:51:05 +0000 Subject: [PATCH] wxBitmapToggleButton's reported base class is wxControl --- src/qt/tglbtn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/tglbtn.cpp b/src/qt/tglbtn.cpp index 5797157286..8434179b9e 100644 --- a/src/qt/tglbtn.cpp +++ b/src/qt/tglbtn.cpp @@ -54,7 +54,7 @@ void wxQtToggleButton::clicked( bool checked ) wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent ); -wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapToggleButton, wxToggleButton); +wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapToggleButton, wxControl); wxBitmapToggleButton::wxBitmapToggleButton() {