Author: jimtabor
Date: Sat Jun 17 09:02:55 2006
New Revision: 22378
URL:
http://svn.reactos.ru/svn/reactos?rev=22378&view=rev
Log:
Sync with wine.
Modified:
trunk/reactos/dll/win32/user32/controls/icontitle.c
Modified: trunk/reactos/dll/win32/user32/controls/icontitle.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/user32/controls/i…
==============================================================================
--- trunk/reactos/dll/win32/user32/controls/icontitle.c (original)
+++ trunk/reactos/dll/win32/user32/controls/icontitle.c Sat Jun 17 09:02:55 2006
@@ -53,7 +53,7 @@
HWND ICONTITLE_Create( HWND owner )
{
HWND hWnd;
- HINSTANCE instance = (HINSTANCE)GetWindowLongA( owner, GWL_HINSTANCE );
+ HINSTANCE instance = (HINSTANCE)GetWindowLongPtrA( owner, GWLP_HINSTANCE );
LONG style = WS_CLIPSIBLINGS;
if (!IsWindowEnabled(owner)) style |= WS_DISABLED;
@@ -142,7 +142,7 @@
{
if( GetWindowLongA( hwnd, GWL_STYLE ) & WS_CHILD )
{
- hBrush = (HBRUSH) GetClassLongA(hwnd, GCL_HBRBACKGROUND);
+ hBrush = (HBRUSH) GetClassLongPtrW(hwnd, GCLP_HBRBACKGROUND);
if( hBrush )
{
INT level;