- wxMenu menu;
-
- menu.Append(PU_RESTORE, _T("&Restore TBTest"));
-#ifdef __WXMSW__
- menu.Append(PU_NEW_ICON,_T("&Set New Icon"));
-#endif
- 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;