Fix scrolling bug where client size was reported wrong

when the scrollbar size was not subtracted when
    using a targetwindow != this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-09-19 10:22:20 +00:00
parent 8930b2ed1e
commit bf6c0db624
2 changed files with 2 additions and 3 deletions

View File

@@ -3019,9 +3019,7 @@ void wxWindowGTK::DoGetClientSize( int *width, int *height ) const
int dh = 0;
if (m_hasScrolling)
{
GetScrollbarWidth(m_widget, dw, dh);
}
#ifndef __WXUNIVERSAL__
if (HasFlag(wxRAISED_BORDER) || HasFlag(wxSUNKEN_BORDER))