mirror of https://github.com/odrling/Aegisub
Remove "new window" item from File menu on Mac, since it can't work there in its current implementation. (OS limits to one instance of each application, one app instance must handle multiple open documents.)
Originally committed to SVN as r1582.
This commit is contained in:
parent
89c3543b67
commit
09f7c32cb2
|
@ -297,7 +297,10 @@ void FrameMain::InitMenu() {
|
|||
AppendBitmapMenuItem (fileMenu,Menu_Tools_Properties, _("&Properties..."), _("Open script properties window"),wxBITMAP(properties_toolbutton));
|
||||
AppendBitmapMenuItem (fileMenu,Menu_Tools_Attachments, _("&Attachments..."), _("Open the attachment list"), wxBITMAP(attach_button));
|
||||
fileMenu->AppendSeparator();
|
||||
#ifndef __APPLE__
|
||||
// Doesn't work on Mac, only one instance is ever allowed there from OS side
|
||||
AppendBitmapMenuItem(fileMenu,Menu_File_New_Window, _("New Window"), _("Open a new application window"),wxBITMAP(blank_button));
|
||||
#endif
|
||||
AppendBitmapMenuItem(fileMenu,Menu_File_Exit, MakeHotkeyText(_("E&xit"), _T("Exit")), _("Exit the application"),wxBITMAP(exit_button));
|
||||
MenuBar->Append(fileMenu, _("&File"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue