From 1b725b0b97a2c3d5a2a1f097ce88eede1971adce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Sch=C3=BCmann?= Date: Thu, 25 Dec 2014 00:42:45 +0000 Subject: SendSS ! removed window icon as we have our own in our headerbar and two just looks stupid (we got a smaller close button in exchange though...) * ESC now closes SendSS capture and about window (to compensate our new tiny "x" button) git-svn-id: http://svn.miranda-ng.org/main/trunk@11616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SendScreenshotPlus/src/UMainForm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/SendScreenshotPlus/src/UMainForm.cpp') diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp index 812a9fca16..1f808af0f4 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.cpp +++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp @@ -380,8 +380,8 @@ void TfrmMain::wmCommand(WPARAM wParam, LPARAM lParam) { switch (HIWORD(wParam)) { case BN_CLICKED: //Button controls switch(IDControl) { - case IDCANCEL: - case IDCLOSE: + case IDCANCEL: // ESC pressed + this->Close(); break; case ID_chkTimed: m_opt_chkTimed = (BYTE)Button_GetCheck((HWND)lParam); -- cgit v1.2.3