mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
Sync with wine.
svn path=/trunk/; revision=22378
This commit is contained in:
parent
35135e5ddb
commit
3c7fc29628
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ const struct builtin_class_descr ICONTITLE_builtin_class =
|
|||
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 @@ static BOOL ICONTITLE_Paint( HWND hwnd, HWND owner, HDC hDC, BOOL bActive )
|
|||
{
|
||||
if( GetWindowLongA( hwnd, GWL_STYLE ) & WS_CHILD )
|
||||
{
|
||||
hBrush = (HBRUSH) GetClassLongA(hwnd, GCL_HBRBACKGROUND);
|
||||
hBrush = (HBRUSH) GetClassLongPtrW(hwnd, GCLP_HBRBACKGROUND);
|
||||
if( hBrush )
|
||||
{
|
||||
INT level;
|
||||
|
|
Loading…
Reference in a new issue