X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/387d96cc8fce9fdd7bdf428cf6014953823fee31..dde4740fe1dddbb2738a0afd054f493cb0dd67d1:/src/generic/statusbr.cpp?ds=sidebyside diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index 203295199a..e0bd6f8d08 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -66,12 +66,6 @@ void wxStatusBarGeneric::Init() wxStatusBarGeneric::~wxStatusBarGeneric() { - // VZ: what is this for? please comment... -#ifdef __WXMSW__ - // JACS: commenting out since it causes an assert - // and there seems no reason for it. - // SetFont(wxNullFont); -#endif // MSW } bool wxStatusBarGeneric::Create(wxWindow *parent, @@ -87,10 +81,6 @@ bool wxStatusBarGeneric::Create(wxWindow *parent, // The status bar should have a themed background SetThemeEnabled( true ); - // Don't wish this to be found as a child -#ifndef __WXMAC__ - parent->GetChildren().DeleteObject(this); -#endif InitColours(); #ifdef __WXPM__