windows headers can be annoying.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4824 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2015-01-07 14:10:05 +00:00
parent 16868f1604
commit 8c553a5aa7

View file

@ -3243,7 +3243,7 @@ static LRESULT CALLBACK MainWndProc(HWND hWnd,UINT message,
//microsoft suck big hairy donkey balls.
//this tries to get the edit box of the combo control.
HWND comboedit = GetWindow(search_name, GW_CHILD);
combosubclassproc = (WNDPROC) SetWindowLongPtr(comboedit, GWL_WNDPROC, (DWORD_PTR) SearchComboSubClass);
combosubclassproc = (WNDPROC) SetWindowLongPtr(comboedit, GWLP_WNDPROC, (DWORD_PTR) SearchComboSubClass);
}
ShowWindow(search_name, SW_SHOW);