more warnings fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-08-16 13:55:49 +00:00
parent 67050b6d4a
commit 4b5966d720

View File

@@ -110,13 +110,11 @@ const char *wxStockItemToGTK(wxStockItemID item)
{ {
#define STOCKITEM(stockid) \ #define STOCKITEM(stockid) \
case wx##stockid: \ case wx##stockid: \
return GTK_##stockid; \ return GTK_##stockid;
break;
#define STOCKITEM_MISSING(stockid) \ #define STOCKITEM_MISSING(stockid) \
case wx##stockid: \ case wx##stockid: \
return NULL; \ return NULL;
break;
#if GTK_CHECK_VERSION(2,4,0) #if GTK_CHECK_VERSION(2,4,0)
#define STOCKITEM_24(stockid) STOCKITEM(stockid) #define STOCKITEM_24(stockid) STOCKITEM(stockid)