X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0ed460c2e7802793d591c84f3cfdbff159c5549..1eddcfafba914bff0c9674985d5c8a7205a741c6:/src/common/layout.cpp diff --git a/src/common/layout.cpp b/src/common/layout.cpp index 38750acead..b98de42ee5 100644 --- a/src/common/layout.cpp +++ b/src/common/layout.cpp @@ -22,8 +22,6 @@ #include "wx/defs.h" -#if wxUSE_CONSTRAINTS - #ifndef WX_PRECOMP #include "wx/window.h" #include "wx/utils.h" @@ -1304,23 +1302,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; @@ -1744,6 +1725,3 @@ wxSpacingSizer::~wxSpacingSizer() { } - - -#endif