Change the base class of wxBitmapToggleButton

This commit is contained in:
Cătălin Răceanu
2019-02-13 01:09:16 +02:00
parent 39c9992ec9
commit 50edbf24cc
2 changed files with 3 additions and 3 deletions

View File

@@ -44,7 +44,7 @@ private:
class WXDLLIMPEXP_CORE wxBitmapToggleButton: public wxToggleButtonBase class WXDLLIMPEXP_CORE wxBitmapToggleButton: public wxToggleButton
{ {
public: public:
wxBitmapToggleButton(); wxBitmapToggleButton();

View File

@@ -52,9 +52,9 @@ void wxQtToggleButton::clicked( bool checked )
} }
} }
wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent ); wxDEFINE_EVENT( wxEVT_TOGGLEBUTTON, wxCommandEvent );
wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapToggleButton, wxControl); wxIMPLEMENT_DYNAMIC_CLASS(wxBitmapToggleButton, wxToggleButton);
wxBitmapToggleButton::wxBitmapToggleButton() wxBitmapToggleButton::wxBitmapToggleButton()
{ {