X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34c3ffca5b9a22a972ae0296c8713f8ff1956566..9398120d298d745763f253d87d774be3b134b43f:/include/wx/window.h?ds=sidebyside diff --git a/include/wx/window.h b/include/wx/window.h index 40538ca5a6..1b7071d626 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -739,7 +739,7 @@ public: virtual bool Layout(); // sizers - void SetSizer( wxSizer *sizer ); + void SetSizer(wxSizer *sizer, bool deleteOld = TRUE ); wxSizer *GetSizer() const { return m_windowSizer; } // Track if this window is a member of a sizer