+// Overridables
+wxMenu *MyTaskBarIcon::CreatePopupMenu()
+{
+ // Try creating menus different ways
+ // TODO: Probably try calling SetBitmap with some XPMs here
+ wxMenu *menu = new wxMenu;
+ menu->Append(PU_RESTORE, _T("&Restore TBTest"));
+ menu->AppendSeparator();
+ menu->Append(PU_OLD_ICON, _T("&Restore Old Icon"));
+ menu->Append(PU_NEW_ICON, _T("&Set New Icon"));
+ menu->AppendSeparator();
+ menu->Append(PU_CHECKMARK, _T("Checkmark"),wxT(""), wxITEM_CHECK);
+ menu->AppendSeparator();
+ wxMenu *submenu = new wxMenu;
+ submenu->Append(PU_SUB1, _T("One submenu"));
+ submenu->AppendSeparator();
+ submenu->Append(PU_SUB2, _T("Another submenu"));
+ menu->Append(PU_SUBMAIN, _T("Submenu"), submenu);
+#ifndef __WXMAC_OSX__ /*Mac has built-in quit menu*/
+ menu->AppendSeparator();
+ menu->Append(PU_EXIT, _T("E&xit"));
+#endif
+ return menu;
+}