projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git]
/
src
/
common
/
layout.cpp
diff --git
a/src/common/layout.cpp
b/src/common/layout.cpp
index d49aaea5b2786d061e7979430ff72deed595df55..d479f3476e8bc85e1e79a5e57511080417f840eb 100644
(file)
--- a/
src/common/layout.cpp
+++ b/
src/common/layout.cpp
@@
-26,6
+26,8
@@
#if wxUSE_CONSTRAINTS
#if wxUSE_CONSTRAINTS
+#include "wx/layout.h"
+
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/utils.h"
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/utils.h"
@@
-34,8
+36,6
@@
#include "wx/intl.h"
#endif
#include "wx/intl.h"
#endif
-#include "wx/layout.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxIndividualLayoutConstraint, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxLayoutConstraints, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxIndividualLayoutConstraint, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxLayoutConstraints, wxObject)
@@
-75,7
+75,7
@@
wxIndividualLayoutConstraint::wxIndividualLayoutConstraint()
percent = 0;
otherEdge = wxTop;
done = false;
percent = 0;
otherEdge = wxTop;
done = false;
- otherWin =
(wxWindowBase *)
NULL;
+ otherWin = NULL;
}
void wxIndividualLayoutConstraint::Set(wxRelationship rel, wxWindowBase *otherW, wxEdge otherE, int val, int marg)
}
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;
value = 0;
percent = 0;
otherEdge = wxTop;
- otherWin =
(wxWindowBase *)
NULL;
+ otherWin = NULL;
return true;
}
return true;
}