- if ( !wxWindow::Create(parent, id,
- wxDefaultPosition, wxDefaultSize,
- style | wxTAB_TRAVERSAL, name) )
- return false;
-
- // 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();
-
+ style |= wxTAB_TRAVERSAL | wxFULL_REPAINT_ON_RESIZE;
+ if ( !wxWindow::Create(parent, id,
+ wxDefaultPosition, wxDefaultSize,
+ style, name) )
+ return false;
+
+ // The status bar should have a themed background
+ SetThemeEnabled( true );
+
+ InitColours();
+