X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2aab8f16ac7200349b41af957396029c176a9b9d..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index ccfb67985b..11b4e38912 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -47,6 +47,8 @@ public: wxSizerItem( wxSizer *sizer, int option, int flag, int border, wxObject* userData ); ~wxSizerItem(); + + virtual void DeleteWindows(); virtual wxSize GetSize(); virtual wxSize CalcMin(); @@ -143,6 +145,9 @@ public: virtual bool Remove( wxWindow *window ); virtual bool Remove( wxSizer *sizer ); virtual bool Remove( int pos ); + + virtual void Clear( bool delete_windows=FALSE ); + virtual void DeleteWindows(); void SetMinSize( int width, int height ) { DoSetMinSize( width, height ); }