- Hax Fix: Edit control atom support, see bug 4705.
authorJames Tabor <james.tabor@reactos.org>
Thu, 16 Jul 2009 17:56:19 +0000 (17:56 +0000)
committerJames Tabor <james.tabor@reactos.org>
Thu, 16 Jul 2009 17:56:19 +0000 (17:56 +0000)
svn path=/trunk/; revision=41992

reactos/subsystems/win32/win32k/ntuser/window.c

index 02e921a..b558f04 100644 (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);