]> git.saurik.com Git - wxWidgets.git/commitdiff
suppress harmless gcc warning about not handling all enum values in a switch
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Jun 2009 22:14:47 +0000 (22:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 17 Jun 2009 22:14:47 +0000 (22:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/bmpbuttn.cpp

index 2e2072d0a2dff4632a6a3b4966d260127360a20c..2627bf51cc21bd84dae8861418c6fd87fbfb8df7 100644 (file)
@@ -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
+                ;
         }
     }