- Hax Fix: Edit control atom support, see bug 4705.

svn path=/trunk/; revision=41992
This commit is contained in:
James Tabor 2009-07-16 17:56:19 +00:00
parent 3be8b1374b
commit 6e038baa16

View file

@ -2251,7 +2251,8 @@ AllocErr:
/* BugBoy Comments: if the window being created is a edit control, ATOM 0xC007,
then my testing shows that windows (2k and XP) creates a CallProc for it immediately
Dont understand why it does this. */
if (ClassAtom == 0XC007)
// if (ClassAtom == gpsi->atomSysClass[ICLS_EDIT]) <--- real fix!
if (ClassAtom == 0XC008) // <--- HACK!!!!
{
PCALLPROC CallProc;
//CallProc = CreateCallProc(NULL, Wnd->WndProc, bUnicodeWindow, Wnd->ti->ppi);