- wxMenu menu;
-
- menu.Append(PU_RESTORE, _T("&Restore TBTest"));
- menu.Append(PU_NEW_ICON,_T("&Set New Icon"));
- menu.Append(PU_EXIT, _T("E&xit"));
-
- PopupMenu(&menu);
+ wxMenu *menu = new wxMenu;
+
+ menu->Append(PU_RESTORE, _T("&Restore TBTest"));
+ menu->Append(PU_NEW_ICON,_T("&Set New Icon"));
+ menu->Append(PU_CHECKMARK, _T("Checkmark"),wxT( "" ), wxITEM_CHECK );
+ menu->Append(PU_EXIT, _T("E&xit"));
+
+ return menu;