From: Vadim Zeitlin Date: Wed, 20 Feb 2002 00:52:19 +0000 (+0000) Subject: don't use border styles for windows in wxUniversal X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d1fe917ba097fd8039a4340d1d82115f72cbbd91 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 --- 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 )