X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5e0c72763f314caedd4bcbfccd2dde02317c976..47e59154157bb013ce255a4efa7a615574c974f7:/src/generic/statusbr.cpp?ds=sidebyside diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index 281be6f0fd..b963470a67 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -21,14 +21,13 @@ #include "wx/statusbr.h" #ifndef WX_PRECOMP - #include "wx/frame.h" #include "wx/settings.h" #include "wx/dcclient.h" #endif #ifdef __WXGTK20__ -#include "wx/gtk/private.h" -#include "wx/gtk/win_gtk.h" + #include + #include "wx/gtk/win_gtk.h" #endif // we only have to do it here when we use wxStatusBarGeneric in addition to the @@ -67,9 +66,10 @@ bool wxStatusBarGeneric::Create(wxWindow *parent, long style, const wxString& name) { + style |= wxTAB_TRAVERSAL | wxFULL_REPAINT_ON_RESIZE; if ( !wxWindow::Create(parent, id, wxDefaultPosition, wxDefaultSize, - style | wxTAB_TRAVERSAL, name) ) + style, name) ) return false; // The status bar should have a themed background