diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2012-09-11 00:57:33 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2012-09-11 00:57:33 +0000 |
commit | 482be69d327aef60a9a654b8cc6a5e6646d095de (patch) | |
tree | 9317d472b36784e51e9f02e0895c08111c4f5b04 /plugins/New_GPG/src/options.cpp | |
parent | 89aa2b61be21bb3a635714c41f5de17838b51092 (diff) |
windows api fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@1563 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/options.cpp')
-rwxr-xr-x | plugins/New_GPG/src/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/New_GPG/src/options.cpp b/plugins/New_GPG/src/options.cpp index b4eee7d30e..56bca849d7 100755 --- a/plugins/New_GPG/src/options.cpp +++ b/plugins/New_GPG/src/options.cpp @@ -767,7 +767,7 @@ static INT_PTR CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam {
case WM_INITDIALOG:
{
- default_edit_proc = GetWindowLong(GetDlgItem(hwndDlg, IDC_PUBLIC_KEY_EDIT), GWLP_WNDPROC);
+ default_edit_proc = GetWindowLongPtr(GetDlgItem(hwndDlg, IDC_PUBLIC_KEY_EDIT), GWLP_WNDPROC);
SetWindowPos(hwndDlg, 0, load_key_rect.left, load_key_rect.top, 0, 0, SWP_NOSIZE|SWP_SHOWWINDOW);
SetWindowLongPtr(GetDlgItem(hwndDlg, IDC_PUBLIC_KEY_EDIT), GWLP_WNDPROC, (LONG_PTR)editctrl_ctrl_a);
HANDLE hcnt = hContact;
|