Applied wxPoem, wxSystemSettings, sizing, install doc patches

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-01-31 21:58:34 +00:00
parent 73b26a1c3b
commit 9fce8d2eee
7 changed files with 86 additions and 84 deletions

View File

@@ -1543,7 +1543,8 @@ void wxWindowMSW::DoSetClientSize(int width, int height)
::GetClientRect(GetHwnd(), &rectClient);
// if the size is already ok, stop here (rectClient.left = top = 0)
if ( rectClient.right == width && rectClient.bottom == height )
if ( (rectClient.right == width || width == -1) &&
(rectClient.bottom == height || height == -1) )
{
break;
}