X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d51143c5e77949c4633eae3f083d40f608cf387..fec911b8c66f9871f8b7497c6bbbb4105f250704:/src/msw/bmpbuttn.cpp diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index 2627bf51cc..aea2db8f61 100644 --- a/src/msw/bmpbuttn.cpp +++ b/src/msw/bmpbuttn.cpp @@ -127,12 +127,10 @@ bool wxBitmapButton::Create(wxWindow *parent, const wxBitmap& bitmap, const wxPoint& pos, const wxSize& size, long style, - const wxValidator& wxVALIDATOR_PARAM(validator), + 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;