mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[UXTHEME]
- Allocate resources after the quick-return path svn path=/trunk/; revision=64181
This commit is contained in:
parent
0ac46dd0d3
commit
65581fedb3
1 changed files with 2 additions and 1 deletions
|
@ -400,7 +400,6 @@ SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
|
|||
{
|
||||
return;
|
||||
}
|
||||
ThemeInitDrawContext(&context, hwnd, 0);
|
||||
|
||||
#ifndef ROS_SUCKS
|
||||
/* The scrollbar rect is in screen coordinates */
|
||||
|
@ -410,6 +409,8 @@ SCROLL_HandleScrollEvent( HWND hwnd, INT nBar, UINT msg, POINT pt)
|
|||
if ((SCROLL_trackHitTest == SCROLL_NOWHERE) && (msg != WM_LBUTTONDOWN))
|
||||
return;
|
||||
|
||||
ThemeInitDrawContext(&context, hwnd, 0);
|
||||
|
||||
hwndOwner = (nBar == SB_CTL) ? GetParent(hwnd) : hwnd;
|
||||
hwndCtl = (nBar == SB_CTL) ? hwnd : 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue