X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79e38eaf2ac4b7805e9693bb75d747b10fc7f470..e83c4d401206ff9d5568f03ade6d9713c57bdd51:/src/gtk/bmpbuttn.cpp 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;