X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b218dfaf47dc47705f6d6cba9408fa9f9cca70e..634903fd0431c5f09372a9ad99005cb4b2c5cd34:/src/common/layout.cpp diff --git a/src/common/layout.cpp b/src/common/layout.cpp index 517d626892..e8f22391a6 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" @@ -1275,7 +1273,7 @@ void wxSizer::RemoveSizerChild(wxWindow *child) 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) @@ -1502,11 +1500,6 @@ wxRowColSizer::~wxRowColSizer() { } -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; @@ -1727,6 +1720,3 @@ wxSpacingSizer::~wxSpacingSizer() { } - - -#endif