From 1b0f5e5864b7e8cb7a36be8fefabf46ffed60801 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 25 May 2004 08:47:47 +0000 Subject: [PATCH] Removed redundant menu titles that added extra separators git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/html/htmlctrl/htmlctrl.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/html/htmlctrl/htmlctrl.cpp b/samples/html/htmlctrl/htmlctrl.cpp index d23f6bba80..5ca80e47e4 100755 --- a/samples/html/htmlctrl/htmlctrl.cpp +++ b/samples/html/htmlctrl/htmlctrl.cpp @@ -153,14 +153,14 @@ MyFrame::MyFrame(const wxString& title) : wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxSize(500,500)) { wxMenuBar* myBar = new wxMenuBar(); - wxMenu* fileMenu = new wxMenu(_("&File")); - fileMenu->Append(ID_OPEN, _("Open")); - fileMenu->Append(ID_SAVE, _("Save")); - myBar->Append(fileMenu, _("File")); + wxMenu* fileMenu = new wxMenu; + fileMenu->Append(ID_OPEN, _("&Open")); + fileMenu->Append(ID_SAVE, _("&Save")); + myBar->Append(fileMenu, _("&File")); - wxMenu* editMenu = new wxMenu(_("Edit")); + wxMenu* editMenu = new wxMenu; editMenu->Append(ID_SET_SOURCE, _("Set Page Source")); - myBar->Append(editMenu, _("Edit")); + myBar->Append(editMenu, _("&Edit")); //wxMenu* viewMenu = new wxMenu(_("View")); //viewMenu->Append(ID_VIEW_SOURCE, _("View Source"));