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:
Robert Roebling
2004-04-15 18:10:30 +00:00
parent d30ee785c2
commit 304b8bc189

View File

@@ -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