X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79e38eaf2ac4b7805e9693bb75d747b10fc7f470..9579070b94d9aaad1bdd3638163cb94e48d5508b:/src/gtk/bmpbuttn.cpp?ds=sidebyside diff --git a/src/gtk/bmpbuttn.cpp b/src/gtk/bmpbuttn.cpp index a3df929f8d..55ca28b5c2 100644 --- a/src/gtk/bmpbuttn.cpp +++ b/src/gtk/bmpbuttn.cpp @@ -14,8 +14,6 @@ #include "wx/bmpbuttn.h" -IMPLEMENT_DYNAMIC_CLASS(wxBitmapButton,wxButton) - bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap, @@ -25,9 +23,7 @@ bool wxBitmapButton::Create(wxWindow *parent, const wxValidator& validator, const wxString& name) { - if ( !wxBitmapButtonBase::Create(parent, id, "", - pos, size, - style | wxBU_NOTEXT, + if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style, validator, name) ) return false;