Author: jimtabor
Date: Thu Jul 16 19:56:19 2009
New Revision: 41992
URL: http://svn.reactos.org/svn/reactos?rev=41992&view=rev
Log:
- Hax Fix: Edit control atom support, see bug 4705.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/window.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Thu Jul 16 19:56:19 2009
@@ -2251,7 +2251,8 @@
/* 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);