X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d64b1c760b00daf0b6ea2ab6fbd14d624eecfa7c..96991c58ed3af415f83cd780d2875b8f0b2255d1:/src/generic/statusbr.cpp diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index 372a82a5c5..e0bd6f8d08 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -66,10 +66,6 @@ void wxStatusBarGeneric::Init() wxStatusBarGeneric::~wxStatusBarGeneric() { - // VZ: what is this for? please comment... -#ifdef __WXMSW__ - SetFont(wxNullFont); -#endif // MSW } bool wxStatusBarGeneric::Create(wxWindow *parent, @@ -85,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__