eVC 3.0 doesn't like WS_CAPTION. I imagine that
eVC 4.0 just ignores it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c1edc08df3
commit
e5aa8b8171
@ -164,9 +164,10 @@ WXDWORD wxTopLevelWindowMSW::MSWGetStyle(long style, WXDWORD *exflags) const
|
|||||||
msflags |= WS_OVERLAPPED;
|
msflags |= WS_OVERLAPPED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// border and caption styles
|
// border and caption styles
|
||||||
if ( style & wxRESIZE_BORDER )
|
if ( style & wxRESIZE_BORDER )
|
||||||
#ifdef __WXWINCE__
|
#ifndef WS_THICKFRAME
|
||||||
msflags = msflags;
|
msflags = msflags;
|
||||||
#else
|
#else
|
||||||
msflags |= WS_THICKFRAME;
|
msflags |= WS_THICKFRAME;
|
||||||
@ -179,10 +180,16 @@ WXDWORD wxTopLevelWindowMSW::MSWGetStyle(long style, WXDWORD *exflags) const
|
|||||||
msflags |= WS_POPUP;
|
msflags |= WS_POPUP;
|
||||||
|
|
||||||
if ( style & wxCAPTION )
|
if ( style & wxCAPTION )
|
||||||
|
#ifdef __WXWINCE__
|
||||||
|
msflags = msflags;
|
||||||
|
#else
|
||||||
msflags |= WS_CAPTION;
|
msflags |= WS_CAPTION;
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
msflags |= WS_POPUP;
|
msflags |= WS_POPUP;
|
||||||
|
|
||||||
|
return msflags;
|
||||||
|
|
||||||
// next translate the individual flags
|
// next translate the individual flags
|
||||||
if ( style & wxMINIMIZE_BOX )
|
if ( style & wxMINIMIZE_BOX )
|
||||||
msflags |= WS_MINIMIZEBOX;
|
msflags |= WS_MINIMIZEBOX;
|
||||||
|
Loading…
Reference in New Issue
Block a user