X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed2fbeb835854c97d176f8bdfd6f06a84273f5d7..08f744fb3be54d7f13c265bc05d3c37fadf67b06:/src/common/layout.cpp diff --git a/src/common/layout.cpp b/src/common/layout.cpp index 710ff2223e..d479f3476e 100644 --- a/src/common/layout.cpp +++ b/src/common/layout.cpp @@ -75,7 +75,7 @@ wxIndividualLayoutConstraint::wxIndividualLayoutConstraint() percent = 0; otherEdge = wxTop; done = false; - otherWin = (wxWindowBase *) NULL; + otherWin = NULL; } void wxIndividualLayoutConstraint::Set(wxRelationship rel, wxWindowBase *otherW, wxEdge otherE, int val, int marg) @@ -158,7 +158,7 @@ bool wxIndividualLayoutConstraint::ResetIfWin(wxWindowBase *otherW) value = 0; percent = 0; otherEdge = wxTop; - otherWin = (wxWindowBase *) NULL; + otherWin = NULL; return true; }