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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user