Some more WXWIN_COMPATIBILITY fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3189,7 +3189,7 @@ int wxWindow::GetScrollRange(int orient) const
|
||||
#if defined(__WIN95__)
|
||||
// Try to adjust the range to cope with page size > 1
|
||||
// - a Windows API quirk
|
||||
int pageSize = GetScrollPage(orient);
|
||||
int pageSize = GetScrollThumb(orient);
|
||||
if ( pageSize > 1 )
|
||||
{
|
||||
maxPos -= (pageSize - 1);
|
||||
|
Reference in New Issue
Block a user