projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67050b6
)
more warnings fixes
author
Václav Slavík
<vslavik@fastmail.fm>
Mon, 16 Aug 2004 13:55:49 +0000
(13:55 +0000)
committer
Václav Slavík
<vslavik@fastmail.fm>
Mon, 16 Aug 2004 13:55:49 +0000
(13:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28818
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/stockitem.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/stockitem.cpp
b/src/common/stockitem.cpp
index 303b338c4499fd8eeeeeedadba4bfad7b1f8292f..c6325d7a2e37ae991093cff74f0fedf6564273a1 100644
(file)
--- a/
src/common/stockitem.cpp
+++ b/
src/common/stockitem.cpp
@@
-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)