mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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;
|
return;
|
||||||
}
|
}
|
||||||
ThemeInitDrawContext(&context, hwnd, 0);
|
|
||||||
|
|
||||||
#ifndef ROS_SUCKS
|
#ifndef ROS_SUCKS
|
||||||
/* The scrollbar rect is in screen coordinates */
|
/* 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))
|
if ((SCROLL_trackHitTest == SCROLL_NOWHERE) && (msg != WM_LBUTTONDOWN))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
ThemeInitDrawContext(&context, hwnd, 0);
|
||||||
|
|
||||||
hwndOwner = (nBar == SB_CTL) ? GetParent(hwnd) : hwnd;
|
hwndOwner = (nBar == SB_CTL) ? GetParent(hwnd) : hwnd;
|
||||||
hwndCtl = (nBar == SB_CTL) ? hwnd : 0;
|
hwndCtl = (nBar == SB_CTL) ? hwnd : 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue