From d1fe917ba097fd8039a4340d1d82115f72cbbd91 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 20 Feb 2002 00:52:19 +0000 Subject: [PATCH] don't use border styles for windows in wxUniversal git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index a189e89dcc..b3e1b3f174 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -391,8 +391,9 @@ bool wxWindowMSW::Create(wxWindow *parent, DWORD msflags = WS_VISIBLE | MSWGetCreateWindowFlags(&exstyle); #ifdef __WXUNIVERSAL__ - // no 3d effects, we draw them ourselves - exStyle = 0; + // no borders, we draw them ourselves + exstyle = 0; + msflags &= ~WS_BORDER; #endif // wxUniversal if ( style & wxPOPUP_WINDOW ) -- 2.50.0