]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stockitem.cpp
SetBackgroundStyle(wxBG_STYLE_CUSTOM) can now be used to optimize
[wxWidgets.git] / src / common / stockitem.cpp
index 303b338c4499fd8eeeeeedadba4bfad7b1f8292f..c6325d7a2e37ae991093cff74f0fedf6564273a1 100644 (file)
@@ -110,13 +110,11 @@ const char *wxStockItemToGTK(wxStockItemID item)
 {
     #define STOCKITEM(stockid)            \
         case wx##stockid:                 \
-            return GTK_##stockid;         \
-            break;
+            return GTK_##stockid;
     
     #define STOCKITEM_MISSING(stockid)    \
         case wx##stockid:                 \
-            return NULL;                  \
-            break;
+            return NULL;
 
     #if GTK_CHECK_VERSION(2,4,0)
         #define STOCKITEM_24(stockid) STOCKITEM(stockid)