X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a21175918ecedbae7d04a58acca5e90a6b59633d..18547275bb96dd0f4dc8273771faf818e65a43b3:/src/msw/bmpbuttn.cpp diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index 2e2072d0a2..a77672cbfb 100644 --- a/src/msw/bmpbuttn.cpp +++ b/src/msw/bmpbuttn.cpp @@ -130,9 +130,7 @@ bool wxBitmapButton::Create(wxWindow *parent, const wxValidator& wxVALIDATOR_PARAM(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; @@ -180,6 +178,11 @@ void wxBitmapButton::DoSetBitmap(const wxBitmap& bitmap, State which) // from the normal one m_disabledSetByUser = true; break; + + default: + // nothing special to do but include the default clause to + // suppress gcc warnings + ; } }