diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-16 16:49:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-16 16:49:08 +0000 |
commit | 365183d00b2eaad4d7c1a38bf346c6635e2c8031 (patch) | |
tree | 8b2442a7cae62d9d25fa2684431c7bae02792961 /plugins/SendScreenshotPlus/src | |
parent | 2def8505c21d5f20a845a90992629d072fd7250a (diff) |
fix for conversion from HBRUSH to BOOL
git-svn-id: http://svn.miranda-ng.org/main/trunk@14967 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src')
-rw-r--r-- | plugins/SendScreenshotPlus/src/UMainForm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp index 06f8d641ba..de58878414 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.cpp +++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp @@ -61,11 +61,13 @@ INT_PTR CALLBACK TfrmMain::DlgProc_CaptureTabPage(HWND hDlg, UINT uMsg, WPARAM w } SetFocus(GetDlgItem(hDlg, ID_imgTarget)); return FALSE; + case WM_CTLCOLORDLG: case WM_CTLCOLOREDIT: case WM_CTLCOLORSTATIC: SetTextColor((HDC)wParam, GetSysColor(COLOR_WINDOWTEXT)); return (INT_PTR)GetStockObject(WHITE_BRUSH); + case WM_COMMAND: if (HIWORD(wParam) == BN_CLICKED && LOWORD(wParam) == ID_btnExplore) { /// local file tab OPENFILENAME ofn = { sizeof(OPENFILENAME) }; |