1. statbar shows that wxBitmapButtons do work with it

2. some accels added to [doc]mdi samples


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-03-31 00:20:42 +00:00
parent 1c45dfd0e9
commit 40dd4a59a2
4 changed files with 85 additions and 14 deletions

View File

@@ -78,17 +78,17 @@ bool MyApp::OnInit(void)
wxMenu *file_menu = new wxMenu;
wxMenu *edit_menu = (wxMenu *) NULL;
file_menu->Append(wxID_NEW, "&New...");
file_menu->Append(wxID_OPEN, "&Open...");
file_menu->Append(wxID_NEW, "&New...\tCtrl-N");
file_menu->Append(wxID_OPEN, "&Open...\tCtrl-X");
file_menu->AppendSeparator();
file_menu->Append(wxID_EXIT, "E&xit");
file_menu->Append(wxID_EXIT, "E&xit\tAlt-X");
// A nice touch: a history of files visited. Use this menu.
m_docManager->FileHistoryUseMenu(file_menu);
wxMenu *help_menu = new wxMenu;
help_menu->Append(DOCVIEW_ABOUT, "&About");
help_menu->Append(DOCVIEW_ABOUT, "&About\tF1");
wxMenuBar *menu_bar = new wxMenuBar;