Trying a thing to clear this error

This commit is contained in:
Sylae Corell
2014-08-01 11:07:06 -06:00
parent 5fa67b54f8
commit 3b758a6886

View File

@@ -506,8 +506,8 @@ BOOL CALLBACK dummy_dialog_proc (HWND hDlg, UINT message, WPARAM wParam, LPARAM
store_edit_parent[l] = dlgs[free_slot];
store_edit_parent_num[l] = store_dlog_num;
store_edit_item[l] = i;
old_edit_proc[l] = (FARPROC) GetWindowLong(edit_box[l],GWL_WNDPROC);
SetWindowLong(edit_box[l],GWL_WNDPROC,(LONG) edit_proc);
old_edit_proc[l] = (FARPROC) GetWindowLongPtr(edit_box[l],GWL_WNDPROC);
SetWindowLongPtr(edit_box[l],GWL_WNDPROC,(LONG_PTR) edit_proc);
if (focus_set == FALSE)
{
SetFocus(edit_box[l]);