X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a6fd73d33ac80632981dee1c0be669f20ba765b5..53cda845db64db0d358f69443cf7edeb2360a048:/src/msw/bmpbuttn.cpp diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index 1438b7cffa..a77672cbfb 100644 --- a/src/msw/bmpbuttn.cpp +++ b/src/msw/bmpbuttn.cpp @@ -130,8 +130,8 @@ bool wxBitmapButton::Create(wxWindow *parent, const wxValidator& wxVALIDATOR_PARAM(validator), const wxString& name) { - if ( !wxBitmapButtonBase::Create(parent, id, "", - pos, size, style, validator, name) ) + if ( !wxBitmapButtonBase::Create(parent, id, pos, size, style, + validator, name) ) return false; SetBitmapLabel(bitmap); @@ -178,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 + ; } }