Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -595,9 +595,9 @@ wxSize wxSizer::FitSize( wxWindow *window )
|
||||
|
||||
// Limit the size if sizeMax != wxDefaultSize
|
||||
|
||||
if ( size.x > sizeMax.x && sizeMax.x != -1 )
|
||||
if ( size.x > sizeMax.x && sizeMax.x != wxDefaultCoord )
|
||||
size.x = sizeMax.x;
|
||||
if ( size.y > sizeMax.y && sizeMax.y != -1 )
|
||||
if ( size.y > sizeMax.y && sizeMax.y != wxDefaultCoord )
|
||||
size.y = sizeMax.y;
|
||||
|
||||
return size;
|
||||
@@ -631,9 +631,9 @@ wxSize wxSizer::VirtualFitSize( wxWindow *window )
|
||||
|
||||
// Limit the size if sizeMax != wxDefaultSize
|
||||
|
||||
if ( size.x > sizeMax.x && sizeMax.x != -1 )
|
||||
if ( size.x > sizeMax.x && sizeMax.x != wxDefaultCoord )
|
||||
size.x = sizeMax.x;
|
||||
if ( size.y > sizeMax.y && sizeMax.y != -1 )
|
||||
if ( size.y > sizeMax.y && sizeMax.y != wxDefaultCoord )
|
||||
size.y = sizeMax.y;
|
||||
|
||||
return size;
|
||||
|
Reference in New Issue
Block a user