From a958b019ffdf637915598a54fd85f0da5379ebda Mon Sep 17 00:00:00 2001 From: Don Ho Date: Tue, 28 Jul 2015 22:47:07 +0200 Subject: [PATCH] [BUG_FIXED] Fix "Restore recent close file" text disappears (closes #346) Detailed description: "Restore recent close file" text disappears from menu while closing a file. --- PowerEditor/src/Notepad_plus.h | 5 ----- PowerEditor/src/Parameters.cpp | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/PowerEditor/src/Notepad_plus.h b/PowerEditor/src/Notepad_plus.h index dedba92d9..9db2c945c 100644 --- a/PowerEditor/src/Notepad_plus.h +++ b/PowerEditor/src/Notepad_plus.h @@ -207,11 +207,6 @@ public: LRESULT init(HWND hwnd); LRESULT process(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam); void killAllChildren(); - /* - HWND getWindowHandle() const { - return _pPublicInterface->getHSelf(); - }; - */ enum comment_mode {cm_comment, cm_uncomment, cm_toggle}; diff --git a/PowerEditor/src/Parameters.cpp b/PowerEditor/src/Parameters.cpp index eb30d5515..1b6397348 100644 --- a/PowerEditor/src/Parameters.cpp +++ b/PowerEditor/src/Parameters.cpp @@ -84,7 +84,7 @@ WinMenuKeyDefinition winKeyDefs[] = { {VK_NULL, IDM_FILE_PRINTNOW, false, false, false, NULL}, {VK_F4, IDM_FILE_EXIT, false, true, false, NULL}, - { VK_T, IDM_FILE_RESTORELASTCLOSEDFILE, true, false, true, NULL}, + { VK_T, IDM_FILE_RESTORELASTCLOSEDFILE, true, false, true, TEXT("Restore Recent Closed File")}, // {VK_NULL, IDM_EDIT_UNDO, false, false, false, NULL}, // {VK_NULL, IDM_EDIT_REDO, false, false, false, NULL},