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
This commit is contained in:
Julian Smart
2007-09-14 07:15:51 +00:00
parent c69dd6e4b0
commit 2af5a7ead3

View File

@@ -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);