[ros-diffs] [jimtabor] 22378: Sync with wine.
jimtabor at svn.reactos.org
jimtabor at svn.reactos.org
Sat Jun 17 07:02:56 CEST 2006
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/icontitle.c?rev=22378&r1=22377&r2=22378&view=diff
==============================================================================
--- 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;
More information about the Ros-diffs
mailing list