From 2af5a7ead386eb3504bef81e3b6a1b2173c5bfb6 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 14 Sep 2007 07:15:51 +0000 Subject: [PATCH] Fix for status bar having themed border git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/statbr95.cpp | 3 +++ 1 file changed, 3 insertions(+) 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);