Added WCE toolbar

Got menubars working with WCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-18 14:12:53 +00:00
parent 560c9c2090
commit 39d2f9a7c8
12 changed files with 1647 additions and 72 deletions

View File

@@ -156,7 +156,12 @@ WXDWORD wxTopLevelWindowMSW::MSWGetStyle(long style, WXDWORD *exflags) const
if ( style & wxFRAME_TOOL_WINDOW )
msflags |= WS_POPUP;
else
msflags |= WS_OVERLAPPED;
{
#ifdef __WXWINCE__
if (msflags & WS_BORDER)
#endif
msflags |= WS_OVERLAPPED;
}
// border and caption styles
if ( style & wxRESIZE_BORDER )
@@ -167,13 +172,17 @@ WXDWORD wxTopLevelWindowMSW::MSWGetStyle(long style, WXDWORD *exflags) const
}
else if ( !(style & wxBORDER_NONE) )
msflags |= WS_BORDER;
#ifndef __WXWINCE__
else
msflags |= WS_POPUP;
#endif
if ( style & wxCAPTION )
msflags |= WS_CAPTION;
#ifndef __WXWINCE__
else
msflags |= WS_POPUP;
#endif
// next translate the individual flags
if ( style & wxMINIMIZE_BOX )