X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c718e0b31c8a8294219bd1b54f179fbbfd86558b..9ce8d6a2b0fec3ce3f6e838445fdea3445d2ce8d:/src/html/helpfrm.cpp diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index 4aaee79da1..d01ec35ffb 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -265,14 +265,14 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id, wxMenu* fileMenu = new wxMenu; fileMenu->Append(wxID_HTML_OPENFILE, _("&Open...")); - fileMenu->Append(wxID_ABOUT, _("&About...")); fileMenu->AppendSeparator(); fileMenu->Append(wxID_CLOSE, _("&Close")); -// wxMenu* helpMenu = new wxMenu; -// helpMenu->Append(wxID_ABOUT, _("&About...")); + wxMenu* helpMenu = new wxMenu; + helpMenu->Append(wxID_ABOUT, _("&About...")); menuBar->Append(fileMenu,_("File")); + menuBar->Append(helpMenu,_("Help")); SetMenuBar(menuBar); #endif @@ -1522,7 +1522,7 @@ void wxHtmlHelpFrame::OnCloseWindow(wxCloseEvent& evt) } #ifdef __WXMAC__ -void wxHtmlHelpFrame::OnQuit(wxCommandEvent& event) +void wxHtmlHelpFrame::OnClose(wxCommandEvent& event) { Close(TRUE); } @@ -1550,7 +1550,7 @@ BEGIN_EVENT_TABLE(wxHtmlHelpFrame, wxFrame) EVT_COMBOBOX(wxID_HTML_BOOKMARKSLIST, wxHtmlHelpFrame::OnBookmarksSel) EVT_CLOSE(wxHtmlHelpFrame::OnCloseWindow) #ifdef __WXMAC__ - EVT_MENU(wxID_CLOSE, wxHtmlHelpFrame::OnQuit) + EVT_MENU(wxID_CLOSE, wxHtmlHelpFrame::OnClose) EVT_MENU(wxID_ABOUT, wxHtmlHelpFrame::OnAbout) #endif