#if defined(__WXWINCE__)
#include <ole2.h>
#include <shellapi.h>
- #include <aygshell.h>
+ #if _WIN32_WCE < 400
+ #include <aygshell.h>
+ #endif
+#include "wx/msw/wince/missing.h"
#endif
#include "wx/msw/winundef.h"
// wxTopLevelWindowMSW creation
// ----------------------------------------------------------------------------
+wxTopLevelWindowMSW::wxTopLevelWindowMSW()
+{
+ Init();
+}
+
+wxTopLevelWindowMSW::wxTopLevelWindowMSW(wxWindow *parent,
+ wxWindowID id,
+ const wxString& title,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxString& name)
+{
+ Init();
+
+ (void)Create(parent, id, title, pos, size, style, name);
+}
+
void wxTopLevelWindowMSW::Init()
{
m_iconized =
rect.x, rect.y, rect.width, rect.height,
flags);
-#ifdef __WXWINCE__
+#if defined(__WXWINCE__) && _WIN32_WCE < 400
::SHFullScreen(GetHwnd(), SHFS_HIDETASKBAR | SHFS_HIDESIPBUTTON);
#endif
}
else // stop showing full screen
{
-#ifdef __WXWINCE__
+#if defined(__WXWINCE__) && _WIN32_WCE < 400
::SHFullScreen(GetHwnd(), SHFS_SHOWTASKBAR | SHFS_SHOWSIPBUTTON);
#endif
Maximize(m_fsIsMaximized);