diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index 52d64680ee..63d1e563b9 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -68,6 +68,9 @@ bool wxStatusBar95::Create(wxWindow *parent, { wxCHECK_MSG( parent, false, wxT("status bar must have a parent") ); + // Avoid giving the status bar a themed window + style = (style & ~wxBORDER_MASK) | wxBORDER_NONE; + SetName(name); SetWindowStyleFlag(style); SetParent(parent);