Commit 6599b9a9 authored by Charlie Fenton's avatar Charlie Fenton

MGR: Don't localize keyboard shortcut for Close Window

svn path=/trunk/boinc/; revision=19717
parent 7ca5c379
......@@ -305,9 +305,11 @@ bool CAdvancedFrame::CreateMenu( bool bRPCsSafe ) {
_("Close the %s window"),
pSkinAdvanced->GetApplicationName().c_str()
);
strMenuName = _("&Close Window");
strMenuName += wxT("\tCtrl+W");
menuFile->Append(
ID_CLOSEWINDOW,
_("&Close Window\tCtrl+W"),
strMenuName,
strMenuDescription
);
......
......@@ -102,10 +102,12 @@ CSimpleFrame::CSimpleFrame(wxString title, wxIcon* icon, wxIcon* icon32, wxPoint
_("Close the %s window"),
pSkinAdvanced->GetApplicationName().c_str()
);
strMenuName = _("&Close Window");
strMenuName += wxT("\tCtrl+W");
menuFile->Append(
ID_CLOSEWINDOW,
_("&Close Window\tCtrl+W"),
strMenuDescription
strMenuName,
strMenuDescription
);
// View menu
......@@ -440,6 +442,7 @@ CSimplePanel::CSimplePanel() {
wxLogTrace(wxT("Function Start/End"), wxT("CSimplePanel::CSimplePanel - Default Constructor Function End"));
}
CSimplePanel::CSimplePanel(wxWindow* parent) :
wxPanel(parent, -1, wxDefaultPosition, wxDefaultSize, wxNO_BORDER)
{
......@@ -557,7 +560,6 @@ void CSimplePanel::OnFrameRender() {
InitNotebook();
}
wrkUnitNB->Update();
} else {
// State changes can cause the BSG to crash if a dialogue is open.
// Defer state change until after the dialogue is closed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment