Change the base class of wxBitmapToggleButton
This commit is contained in:
@@ -44,7 +44,7 @@ private:
|
||||
|
||||
|
||||
|
||||
class WXDLLIMPEXP_CORE wxBitmapToggleButton: public wxToggleButtonBase
|
||||
class WXDLLIMPEXP_CORE wxBitmapToggleButton: public wxToggleButton
|
||||
{
|
||||
public:
|
||||
wxBitmapToggleButton();
|
||||
|
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user