From 2ef6026900f0ed0a7052a688d4224364fee0a21e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 20 Feb 2005 16:14:03 +0000 Subject: [PATCH] menu name consistency git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/minimal/minimal.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index fa6a0067f6..7187ed46c6 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -145,17 +145,17 @@ MyFrame::MyFrame(const wxString& title) #if wxUSE_MENUS // create a menu bar - wxMenu *menuFile = new wxMenu; + wxMenu *fileMenu = new wxMenu; // the "About" item should be in the help menu wxMenu *helpMenu = new wxMenu; helpMenu->Append(Minimal_About, _T("&About...\tF1"), _T("Show about dialog")); - menuFile->Append(Minimal_Quit, _T("E&xit\tAlt-X"), _T("Quit this program")); + fileMenu->Append(Minimal_Quit, _T("E&xit\tAlt-X"), _T("Quit this program")); // now append the freshly created menu to the menu bar... wxMenuBar *menuBar = new wxMenuBar(); - menuBar->Append(menuFile, _T("&File")); + menuBar->Append(fileMenu, _T("&File")); menuBar->Append(helpMenu, _T("&Help")); // ... and attach this menu bar to the frame -- 2.47.2