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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user