#if wxUSE_CONSTRAINTS
+#include "wx/layout.h"
+
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/utils.h"
#include "wx/intl.h"
#endif
-#include "wx/layout.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxIndividualLayoutConstraint, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxLayoutConstraints, wxObject)
percent = 0;
otherEdge = wxTop;
done = false;
- otherWin = (wxWindowBase *) NULL;
+ otherWin = NULL;
}
void wxIndividualLayoutConstraint::Set(wxRelationship rel, wxWindowBase *otherW, wxEdge otherE, int val, int marg)
value = 0;
percent = 0;
otherEdge = wxTop;
- otherWin = (wxWindowBase *) NULL;
+ otherWin = NULL;
return true;
}