X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/92976ab62b850005f9b1e506d0e5ccf2ed465c15..e41bbc80bc908566f9fd674a1ce94c026d2138b2:/src/generic/statusbr.cpp?ds=sidebyside diff --git a/src/generic/statusbr.cpp b/src/generic/statusbr.cpp index 01321e734a..00940d7e0e 100644 --- a/src/generic/statusbr.cpp +++ b/src/generic/statusbr.cpp @@ -31,11 +31,7 @@ #ifdef __WXMSW__ #include - -#ifdef DrawText -#undef DrawText -#endif - +#include "wx/msw/winundef.h" #endif #if !USE_SHARED_LIBRARY @@ -84,7 +80,7 @@ bool wxStatusBar::Create(wxWindow *parent, wxWindowID id, m_borderX = wxTHICK_LINE_BORDER; m_borderY = wxTHICK_LINE_BORDER; - bool success = wxWindow::Create(parent, id, pos, size, style, name); + bool success = wxWindow::Create(parent, id, pos, size, style | wxTAB_TRAVERSAL, name); // Don't wish this to be found as a child parent->GetChildren().DeleteObject(this);