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:
@@ -68,6 +68,9 @@ bool wxStatusBar95::Create(wxWindow *parent,
|
|||||||
{
|
{
|
||||||
wxCHECK_MSG( parent, false, wxT("status bar must have a 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);
|
SetName(name);
|
||||||
SetWindowStyleFlag(style);
|
SetWindowStyleFlag(style);
|
||||||
SetParent(parent);
|
SetParent(parent);
|
||||||
|
Reference in New Issue
Block a user