X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed2fbeb835854c97d176f8bdfd6f06a84273f5d7..76015a6bb79156d8af1b5e8b4b8e46b4e192d18f:/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; }