#include "wx/defs.h"
-#if wxUSE_CONSTRAINTS
-
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/utils.h"
GetChildren().DeleteObject(child);
}
-void wxSizer::SetSize(int x, int y, int w, int h, int WXUNUSED(flags))
+void wxSizer::DoSetSize(int x, int y, int w, int h, int WXUNUSED(flags))
{
wxLayoutConstraints *constr = GetConstraints();
if (x != -1)
}
}
-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;
{
}
-void wxRowColSizer::SetSize(int x, int y, int w, int h, int flags)
-{
- wxSizer::SetSize(x, y, w, h, flags);
-}
-
bool wxRowColSizer::LayoutPhase1(int *noChanges)
{
*noChanges = 0;
{
}
-
-
-#endif