Added wxCLIP_SIBLINGS. CVS also seems to think lots of other files need updating.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -292,11 +292,11 @@ bool wxLayoutAlgorithm::LayoutWindow(wxWindow* parent, wxWindow* mainWindow)
|
||||
rect = event.GetRect();
|
||||
|
||||
if (mainWindow)
|
||||
mainWindow->SetSize(rect.x, rect.y, rect.width, rect.height);
|
||||
mainWindow->SetSize(rect.x, rect.y, wxMax(0, rect.width), wxMax(0, rect.height));
|
||||
else if (lastAwareWindow)
|
||||
{
|
||||
// Fit the remaining space
|
||||
lastAwareWindow->SetSize(rect.x, rect.y, rect.width, rect.height);
|
||||
lastAwareWindow->SetSize(rect.x, rect.y, wxMax(0, rect.width), wxMax(0, rect.height));
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user