don't include scrollbar area in client size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -125,6 +125,8 @@ void wxScrollHelperNative::AdjustScrollbars()
|
||||
int w, h;
|
||||
int vw, vh;
|
||||
|
||||
m_targetWindow->m_hasScrolling = m_xScrollPixelsPerLine != 0 || m_yScrollPixelsPerLine != 0;
|
||||
|
||||
m_targetWindow->GetClientSize( &w, &h );
|
||||
m_targetWindow->GetVirtualSize( &vw, &vh );
|
||||
|
||||
|
Reference in New Issue
Block a user