don't use WS_POPUP for frames using wxFRAME_TOOL_WINDOW style (patch 1107460)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3f48c8e275
commit
0fcd3b92e3
@ -166,13 +166,9 @@ WXDWORD wxTopLevelWindowMSW::MSWGetStyle(long style, WXDWORD *exflags) const
|
||||
// first select the kind of window being created
|
||||
//
|
||||
// note that if we don't set WS_POPUP, Windows assumes WS_OVERLAPPED and
|
||||
// creates a window with both caption and border, hence we also test it
|
||||
// below in some other cases
|
||||
if ( style & wxFRAME_TOOL_WINDOW )
|
||||
{
|
||||
msflags |= WS_POPUP;
|
||||
}
|
||||
//else: WS_OVERLAPPED is 0 anyhow, so it is on by default
|
||||
// creates a window with both caption and border, hence we need to use
|
||||
// WS_POPUP in a few cases just to avoid having caption/border which we
|
||||
// don't want
|
||||
|
||||
#if !(defined(__SMARTPHONE__) && defined(__WXWINCE__))
|
||||
// border and caption styles
|
||||
|
Loading…
Reference in New Issue
Block a user