oops... compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,7 +72,7 @@ void wxIndividualLayoutConstraint::Set(wxRelationship rel, wxWindowBase *otherW,
|
||||
|
||||
if ( rel == wxPercentOf )
|
||||
{
|
||||
percentage = val;
|
||||
percent = val;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -121,7 +121,8 @@ void wxIndividualLayoutConstraint::PercentOf(wxWindowBase *otherW, wxEdge wh, in
|
||||
//
|
||||
void wxIndividualLayoutConstraint::Absolute(int val)
|
||||
{
|
||||
value = val; relationship = wxAbsolute;
|
||||
value = val;
|
||||
relationship = wxAbsolute;
|
||||
}
|
||||
|
||||
// Reset constraint if it mentions otherWin
|
||||
@@ -138,8 +139,8 @@ bool wxIndividualLayoutConstraint::ResetIfWin(wxWindowBase *otherW)
|
||||
otherWin = (wxWindowBase *) NULL;
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
return FALSE;
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Try to satisfy constraint
|
||||
|
Reference in New Issue
Block a user