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
This commit is contained in:
@@ -391,8 +391,9 @@ bool wxWindowMSW::Create(wxWindow *parent,
|
|||||||
DWORD msflags = WS_VISIBLE | MSWGetCreateWindowFlags(&exstyle);
|
DWORD msflags = WS_VISIBLE | MSWGetCreateWindowFlags(&exstyle);
|
||||||
|
|
||||||
#ifdef __WXUNIVERSAL__
|
#ifdef __WXUNIVERSAL__
|
||||||
// no 3d effects, we draw them ourselves
|
// no borders, we draw them ourselves
|
||||||
exStyle = 0;
|
exstyle = 0;
|
||||||
|
msflags &= ~WS_BORDER;
|
||||||
#endif // wxUniversal
|
#endif // wxUniversal
|
||||||
|
|
||||||
if ( style & wxPOPUP_WINDOW )
|
if ( style & wxPOPUP_WINDOW )
|
||||||
|
Reference in New Issue
Block a user