]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't remove generic status bar from parent, since it can be used on
authorJulian Smart <julian@anthemion.co.uk>
Mon, 18 Oct 2004 22:07:47 +0000 (22:07 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 18 Oct 2004 22:07:47 +0000 (22:07 +0000)
arbitrary windows.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/statusbr.cpp

index 203295199ac45ee3fd24ac7731695aa0c5368102..b633fa4fa6fb147693832ac747e2811dad1cf34d 100644 (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();