only one of SetSize()s, SetClientSize()s, GetPosition()s &c is virtual now

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-12-13 22:01:50 +00:00
parent de13591805
commit 7b218dfaf4
5 changed files with 43 additions and 59 deletions

View File

@@ -1304,23 +1304,6 @@ void wxSizer::SetSize(int x, int y, int w, int h, int WXUNUSED(flags))
}
}
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;