#include "wx/defs.h"
-#if wxUSE_CONSTRAINTS
-
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/utils.h"
}
}
-void wxSizer::Move(int x, int y)
-{
- wxLayoutConstraints *constr = GetConstraints();
- if (x != -1)
- {
- sizerX = x;
- if (constr)
- constr->left.SetValue(x);
- }
- if (y != -1)
- {
- sizerY = y;
- if (constr)
- constr->top.SetValue(y);
- }
-}
-
void wxSizer::GetSize(int *w, int *h) const
{
*w = sizerWidth;
{
}
-
-
-#endif