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 )
|
if ( rel == wxPercentOf )
|
||||||
{
|
{
|
||||||
percentage = val;
|
percent = val;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -121,7 +121,8 @@ void wxIndividualLayoutConstraint::PercentOf(wxWindowBase *otherW, wxEdge wh, in
|
|||||||
//
|
//
|
||||||
void wxIndividualLayoutConstraint::Absolute(int val)
|
void wxIndividualLayoutConstraint::Absolute(int val)
|
||||||
{
|
{
|
||||||
value = val; relationship = wxAbsolute;
|
value = val;
|
||||||
|
relationship = wxAbsolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset constraint if it mentions otherWin
|
// Reset constraint if it mentions otherWin
|
||||||
@@ -138,7 +139,7 @@ bool wxIndividualLayoutConstraint::ResetIfWin(wxWindowBase *otherW)
|
|||||||
otherWin = (wxWindowBase *) NULL;
|
otherWin = (wxWindowBase *) NULL;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user