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 )