In SCROLL_DrawScrollbar allocate the internal info if needed.

oldstable
Rein Klazes 2005-06-20 10:32:44 +00:00 committed by Alexandre Julliard
parent 4b6b2768d3
commit 843cd506c5
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ void SCROLL_DrawScrollBar( HWND hwnd, HDC hdc, INT nBar,
INT arrowSize, thumbSize, thumbPos;
RECT rect;
BOOL vertical;
SCROLLBAR_INFO *infoPtr = SCROLL_GetInternalInfo( hwnd, nBar, FALSE );
SCROLLBAR_INFO *infoPtr = SCROLL_GetInternalInfo( hwnd, nBar, TRUE );
BOOL Save_SCROLL_MovingThumb = SCROLL_MovingThumb;
DWORD style = GetWindowLongW( hwnd, GWL_STYLE );