mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:52:54 +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 ICONTITLE_Create( HWND owner )
|
||||||
{
|
{
|
||||||
HWND hWnd;
|
HWND hWnd;
|
||||||
HINSTANCE instance = (HINSTANCE)GetWindowLongA( owner, GWL_HINSTANCE );
|
HINSTANCE instance = (HINSTANCE)GetWindowLongPtrA( owner, GWLP_HINSTANCE );
|
||||||
LONG style = WS_CLIPSIBLINGS;
|
LONG style = WS_CLIPSIBLINGS;
|
||||||
|
|
||||||
if (!IsWindowEnabled(owner)) style |= WS_DISABLED;
|
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 )
|
if( GetWindowLongA( hwnd, GWL_STYLE ) & WS_CHILD )
|
||||||
{
|
{
|
||||||
hBrush = (HBRUSH) GetClassLongA(hwnd, GCL_HBRBACKGROUND);
|
hBrush = (HBRUSH) GetClassLongPtrW(hwnd, GCLP_HBRBACKGROUND);
|
||||||
if( hBrush )
|
if( hBrush )
|
||||||
{
|
{
|
||||||
INT level;
|
INT level;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue