From: Włodzimierz Skiba Date: Wed, 24 Nov 2004 14:01:47 +0000 (+0000) Subject: Let's really remove border. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/11085e4baf7260f0fecadd53b75820d0eb7bfb4b Let's really remove border. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/mediactrl.cpp b/src/msw/mediactrl.cpp index 1649a1ac77..97092f8e99 100644 --- a/src/msw/mediactrl.cpp +++ b/src/msw/mediactrl.cpp @@ -368,7 +368,7 @@ bool wxAMMediaBackend::CreateControl(wxControl* ctrl, wxWindow* parent, // is a child window, it refereshes properly // if ( !ctrl->wxControl::Create(parent, id, pos, size, - (style | wxNO_BORDER) | wxCLIP_CHILDREN, + (style & ~wxBORDER_MASK) | wxBORDER_NONE | wxCLIP_CHILDREN, validator, name) ) return false; @@ -882,7 +882,7 @@ bool wxMCIMediaBackend::CreateControl(wxControl* ctrl, wxWindow* parent, // is a child window, it refereshes properly // if ( !ctrl->wxControl::Create(parent, id, pos, size, - (style & ~wxBORDER_MASK) | wxCLIP_CHILDREN, + (style & ~wxBORDER_MASK) | wxBORDER_NONE | wxCLIP_CHILDREN, validator, name) ) return false; @@ -1384,7 +1384,7 @@ bool wxQTMediaBackend::CreateControl(wxControl* ctrl, wxWindow* parent, // backends, we don't need wxCLIP_CHILDREN // if ( !ctrl->wxControl::Create(parent, id, pos, size, - (style & ~wxBORDER_MASK), + (style & ~wxBORDER_MASK) | wxBORDER_NONE, validator, name) ) return false;