From 482be69d327aef60a9a654b8cc6a5e6646d095de Mon Sep 17 00:00:00 2001 From: Alexander Gluzsky Date: Tue, 11 Sep 2012 00:57:33 +0000 Subject: windows api fix git-svn-id: http://svn.miranda-ng.org/main/trunk@1563 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/New_GPG/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/New_GPG') 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; -- cgit v1.2.3