Re: user32: CallWindowProc[AW] for mismatched built-in winprocs should take into account if the window is Unicode (with testcase, fixes bug #9198)

2007-08-08 Thread Mikołaj Zalewski
static const char classA[] = "deftest"; static const WCHAR classW[] = {'d','e','f','t','e','s','t',0}; +WCHAR unistring[] = {0x142, 0x40e, 0x3b4, 0}; /* a string that would be destoryed by a W->A->W conversion */ Any other string should work just fine. In the current form the te

Re: user32: CallWindowProc[AW] for mismatched built-in winprocs should take into account if the window is Unicode (with testcase, fixes bug #9198)

2007-08-08 Thread Alexandre Julliard
Mikołaj Zalewski <[EMAIL PROTECTED]> writes: > +hwnd = CreateWindowExW(0, classW, NULL, WS_OVERLAPPEDWINDOW, > +CW_USEDEFAULT, CW_USEDEFAULT, 680, 260, NULL, NULL, > GetModuleHandleA(NULL), 0); > +ok(IsWindowUnicode(hwnd), "\n"); > +SetWindowLongPtrW(hwnd, GWLP_WNDPROC, (LONG_

Re: user32: CallWindowProc[AW] for mismatched built-in winprocs should take into account if the window is Unicode (with testcase, fixes bug #9198)

2007-08-07 Thread Dmitry Timoshkov
"Mikolaj Zalewski" <[EMAIL PROTECTED]> wrote: --- a/dlls/user32/tests/class.c +++ b/dlls/user32/tests/class.c @@ -32,6 +32,7 @@ #include "winreg.h" #include "wingdi.h" #include "winuser.h" +#include /* for WC_EDITW */ Besides using braces instead of quotes to match existing style it's not re