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:
Julian Smart
1998-12-06 20:26:55 +00:00
parent 38d24a39d3
commit ca5e9f677a
6 changed files with 24 additions and 12 deletions

View File

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