+ pItem = new wxMenuItem(file_menu, Menu_Toggle, _T("&Disable/Enable\tCtrl+D"),
+ _T("enables/disables the About-Item"), wxITEM_NORMAL);
+ pItem->SetFont(*wxNORMAL_FONT);
+ file_menu->Append(pItem);
+
+ // Of course Ctrl+RatherLongAccel will not work in this example:
+ pAboutItem = new wxMenuItem(file_menu, Menu_About, _T("&About\tCtrl+RatherLongAccel"),
+ _T("display program information"), wxITEM_NORMAL);
+ pAboutItem->SetBitmap(bmpInfo);
+ pAboutItem->SetDisabledBitmap(bmpInfo_mono);
+ file_menu->Append(pAboutItem);
+
+ file_menu->AppendSeparator();
+#endif
+
+ pItem = new wxMenuItem(file_menu, Menu_Quit, _T("&Quit"), _T("Normal item"),
+ wxITEM_NORMAL);
+ file_menu->Append(pItem);