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() {