X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d36b3d84768e49e8693ba1c42f8358bb45b1f0f..f910a887bbaf6d1bc81e7ba45c54c621f8b33cd2:/src/msw/toplevel.cpp?ds=inline diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 9c1391dbbe..2376e815e6 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -740,7 +740,7 @@ bool wxTopLevelWindowMSW::ShowFullScreen(bool show, long style) rect.x, rect.y, rect.width, rect.height, flags); -#if __WXWINCE__ && _WIN32_WCE < 400 +#if defined(__WXWINCE__) && _WIN32_WCE < 400 ::SHFullScreen(GetHwnd(), SHFS_HIDETASKBAR | SHFS_HIDESIPBUTTON); #endif @@ -750,7 +750,7 @@ bool wxTopLevelWindowMSW::ShowFullScreen(bool show, long style) } else // stop showing full screen { -#if __WXWINCE__ && _WIN32_WCE < 400 +#if defined(__WXWINCE__) && _WIN32_WCE < 400 ::SHFullScreen(GetHwnd(), SHFS_SHOWTASKBAR | SHFS_SHOWSIPBUTTON); #endif Maximize(m_fsIsMaximized);