git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2005-12-15 15:07:36 +00:00
parent 898d9035fb
commit e795e8b56f

View File

@@ -848,15 +848,10 @@ inline int GetScrollPosition(HWND hWnd, int wOrient)
WinStruct<SCROLLINFO> scrollInfo;
scrollInfo.cbSize = sizeof(SCROLLINFO);
scrollInfo.fMask = SIF_POS;
if ( !::GetScrollInfo(hWnd,
wOrient,
&scrollInfo) )
{
// Not necessarily an error, if there are no scrollbars yet.
// wxLogLastError(_T("GetScrollInfo"));
}
::GetScrollInfo(hWnd, wOrient, &scrollInfo );
return scrollInfo.nPos;
// return ::GetScrollPos(hWnd, wOrient);
#endif
}