Commit 32a002b5 authored by dickelbeck's avatar dickelbeck

edits

parent 9d1c7bc0
...@@ -55,12 +55,12 @@ ...@@ -55,12 +55,12 @@
#define ADD_MENUITEM(menu, id, text, icon) do {\ #define ADD_MENUITEM(menu, id, text, icon) do {\
wxMenuItem * l_item;\ wxMenuItem * l_item;\
l_item = new wxMenuItem(menu, id, text);\ 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 {\ #define ADD_MENUITEM_WITH_HELP(menu, id, text, help, icon) do {\
wxMenuItem * l_item;\ wxMenuItem * l_item;\
l_item = new wxMenuItem(menu, id, text, help);\ 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__ #ifdef __WINDOWS__
#define ADD_MENUITEM_WITH_SUBMENU(menu, submenu, id, text, icon) do {\ #define ADD_MENUITEM_WITH_SUBMENU(menu, submenu, id, text, icon) do {\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment