fix for motif /scintilla bugs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2004-05-07 16:11:22 +00:00
parent edff75452a
commit 34e8f09728
2 changed files with 13 additions and 5 deletions

View File

@@ -355,7 +355,12 @@ void wxFrame::DoGetClientSize(int *x, int *y) const
yy -= tbh;
}
#endif // wxUSE_TOOLBAR
*x = xx; *y = yy;
//CE found a call here with NULL y pointer
if (x)
*x = xx;
if (y)
*y = yy;
}
// Set the client size (i.e. leave the calculation of borders etc.