mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 18:45:38 +00:00
In SCROLL_DrawScrollbar allocate the internal info if needed.
This commit is contained in:
parent
4b6b2768d3
commit
843cd506c5
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue