}
#endif
-void wxWindowBase::SetSizer(wxSizer *sizer)
+void wxWindowBase::SetSizer(wxSizer *sizer, bool deleteOld)
{
- if (m_windowSizer) delete m_windowSizer;
+ if (m_windowSizer && deleteOld) delete m_windowSizer;
m_windowSizer = sizer;
}
#endif // wxUSE_CONSTRAINTS
-void wxWindowBase::AdjustForParentClientOrigin(int& x, int& y, int sizeFlags)
+void wxWindowBase::AdjustForParentClientOrigin(int& x, int& y, int sizeFlags) const
{
// don't do it for the dialogs/frames - they float independently of their
// parent
GetCapture());
}
+// vi:sts=4:sw=4:et