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:
@@ -88,8 +88,12 @@ bool wxStatusBarGeneric::Create(wxWindow *parent,
|
|||||||
SetThemeEnabled( true );
|
SetThemeEnabled( true );
|
||||||
|
|
||||||
// Don't wish this to be found as a child
|
// 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__
|
#ifndef __WXMAC__
|
||||||
parent->GetChildren().DeleteObject(this);
|
// parent->GetChildren().DeleteObject(this);
|
||||||
#endif
|
#endif
|
||||||
InitColours();
|
InitColours();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user