summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-21 12:35:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-21 12:35:17 +0000
commit55148988e8302c760e84319811b903906d716acd (patch)
tree5d753233d6d2402d8e64b28ea3aa900c55faa190 /protocols/IcqOscarJ
parentc38ee02b8458484ce9ab752229a8282417816aa1 (diff)
fixes ticket #485: Not possible to leave the advanced search dialog with keyboard
git-svn-id: http://svn.miranda-ng.org/main/trunk@7317 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/icq_advsearch.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/protocols/IcqOscarJ/src/icq_advsearch.cpp b/protocols/IcqOscarJ/src/icq_advsearch.cpp
index 05d0d8f442..d3bd412980 100644
--- a/protocols/IcqOscarJ/src/icq_advsearch.cpp
+++ b/protocols/IcqOscarJ/src/icq_advsearch.cpp
@@ -70,28 +70,6 @@ INT_PTR CALLBACK AdvancedSearchDlgProc(HWND hwndDlg, UINT message, WPARAM wParam
InitComboBox(GetDlgItem(hwndDlg, IDC_PASTCAT), pastField);
return TRUE;
-
- case WM_COMMAND:
- {
- switch(LOWORD(wParam))
- {
-
- case IDOK:
- SendMessage(GetParent(hwndDlg), WM_COMMAND, MAKEWPARAM(IDOK, BN_CLICKED), (LPARAM)GetDlgItem(GetParent(hwndDlg), IDOK));
- break;
-
- case IDCANCEL:
- // CheckDlgButton(GetParent(hwndDlg),IDC_ADVANCED,BST_UNCHECKED);
- // SendMessage(GetParent(hwndDlg),WM_COMMAND,MAKEWPARAM(IDC_ADVANCED,BN_CLICKED),(LPARAM)GetDlgItem(GetParent(hwndDlg),IDC_ADVANCED));
- break;
-
- default:
- break;
-
- }
- break;
- }
-
default:
break;
}