Added SW_SCROLLCHILDREN to make scrolling work
under eVC 3.0 (and probably any Windows CE). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -904,11 +904,12 @@ void wxWindowMSW::ScrollWindow(int dx, int dy, const wxRect *prect)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
pr = NULL;
|
pr = NULL;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WXWINCE__
|
#ifdef __WXWINCE__
|
||||||
// FIXME: is this the exact equivalent of the line below?
|
// FIXME: is this the exact equivalent of the line below?
|
||||||
::ScrollWindowEx(GetHwnd(), dx, dy, pr, pr, 0, 0, SW_ERASE|SW_INVALIDATE);
|
::ScrollWindowEx(GetHwnd(), dx, dy, pr, pr, 0, 0, SW_SCROLLCHILDREN|SW_ERASE|SW_INVALIDATE);
|
||||||
#else
|
#else
|
||||||
::ScrollWindow(GetHwnd(), dx, dy, pr, pr);
|
::ScrollWindow(GetHwnd(), dx, dy, pr, pr);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user