diff --git a/src/widgets/AButton.cpp b/src/widgets/AButton.cpp index 08e7a7b88..83c2506f5 100644 --- a/src/widgets/AButton.cpp +++ b/src/widgets/AButton.cpp @@ -193,24 +193,6 @@ int AButton::Listener::FilterEvent(wxEvent &event) return Event_Skip; } -AButton::AButton(wxWindow * parent, - wxWindowID id, - const wxPoint & pos, - const wxSize & size, - wxImage up, - wxImage over, - wxImage down, - wxImage overDown, - wxImage dis, - bool toggle): - wxWindow() -{ - Init(parent, id, pos, size, - ImageRoll(up), ImageRoll(over), - ImageRoll(down), ImageRoll(overDown), ImageRoll(dis), - toggle); -} - AButton::AButton(wxWindow * parent, wxWindowID id, const wxPoint & pos, diff --git a/src/widgets/AButton.h b/src/widgets/AButton.h index e05140760..f9ce3103d 100644 --- a/src/widgets/AButton.h +++ b/src/widgets/AButton.h @@ -41,19 +41,6 @@ class AButton final : public wxWindow { ImageRoll dis, bool toggle); - // Construct button, specifying images (button up, highlight, button down, - // and disabled) for the default state - AButton(wxWindow * parent, - wxWindowID id, - const wxPoint & pos, - const wxSize & size, - wxImage up, - wxImage over, - wxImage down, - wxImage overDown, - wxImage dis, - bool toggle); - virtual ~ AButton(); // hide the inherited function that takes naked wxString: