From b8387e0450b06ebda07d0c3680ae2e8aa5a7311e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 19 Oct 2004 13:45:01 +0000 Subject: [PATCH] Cleaned up commented-out code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/statusbr.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index b633fa4fa6..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,14 +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 - // JACS: this is not true for the Windows native version, - // so why should it be true here? This control can be used - // as a child of an arbitrary window, not just for frames. - // Commenting out. -#ifndef __WXMAC__ - // parent->GetChildren().DeleteObject(this); -#endif InitColours(); #ifdef __WXPM__ -- 2.45.2