From 32a002b52060528e2a133d39904f876db968ad2c Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Tue, 11 Sep 2007 04:10:18 +0000 Subject: [PATCH] edits --- include/macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/macros.h b/include/macros.h index 90040a8b43..a1e2d6cdb1 100644 --- a/include/macros.h +++ b/include/macros.h @@ -55,12 +55,12 @@ #define ADD_MENUITEM(menu, id, text, icon) do {\ wxMenuItem * l_item;\ l_item = new wxMenuItem(menu, id, text);\ - l_item->SetBitmap(icon); menu->Append(l_item);} while(0) + l_item->SetBitmap(icon); (menu)->Append(l_item);} while(0) #define ADD_MENUITEM_WITH_HELP(menu, id, text, help, icon) do {\ wxMenuItem * l_item;\ l_item = new wxMenuItem(menu, id, text, help);\ - l_item->SetBitmap(icon); menu->Append(l_item);} while(0) + l_item->SetBitmap(icon); (menu)->Append(l_item);} while(0) #ifdef __WINDOWS__ #define ADD_MENUITEM_WITH_SUBMENU(menu, submenu, id, text, icon) do {\