Don't remove generic status bar from parent, since it can be used on

arbitrary windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-10-18 22:07:47 +00:00
parent 4fca6ee1a6
commit 2841cdd89b

View File

@@ -88,8 +88,12 @@ bool wxStatusBarGeneric::Create(wxWindow *parent,
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);
// parent->GetChildren().DeleteObject(this);
#endif
InitColours();