Added About menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -265,14 +265,14 @@ bool wxHtmlHelpFrame::Create(wxWindow* parent, wxWindowID id,
|
|||||||
|
|
||||||
wxMenu* fileMenu = new wxMenu;
|
wxMenu* fileMenu = new wxMenu;
|
||||||
fileMenu->Append(wxID_HTML_OPENFILE, _("&Open..."));
|
fileMenu->Append(wxID_HTML_OPENFILE, _("&Open..."));
|
||||||
fileMenu->Append(wxID_ABOUT, _("&About..."));
|
|
||||||
fileMenu->AppendSeparator();
|
fileMenu->AppendSeparator();
|
||||||
fileMenu->Append(wxID_CLOSE, _("&Close"));
|
fileMenu->Append(wxID_CLOSE, _("&Close"));
|
||||||
|
|
||||||
// wxMenu* helpMenu = new wxMenu;
|
wxMenu* helpMenu = new wxMenu;
|
||||||
// helpMenu->Append(wxID_ABOUT, _("&About..."));
|
helpMenu->Append(wxID_ABOUT, _("&About..."));
|
||||||
|
|
||||||
menuBar->Append(fileMenu,_("File"));
|
menuBar->Append(fileMenu,_("File"));
|
||||||
|
menuBar->Append(helpMenu,_("Help"));
|
||||||
SetMenuBar(menuBar);
|
SetMenuBar(menuBar);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user