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