From: Vadim Zeitlin Date: Wed, 17 Jun 2009 22:14:47 +0000 (+0000) Subject: suppress harmless gcc warning about not handling all enum values in a switch X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4d51143c5e77949c4633eae3f083d40f608cf387?ds=inline suppress harmless gcc warning about not handling all enum values in a switch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index 2e2072d0a2..2627bf51cc 100644 --- a/src/msw/bmpbuttn.cpp +++ b/src/msw/bmpbuttn.cpp @@ -180,6 +180,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 + ; } }