From 068959b9bee454e04fd28f3922b2f485fecc980b Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Thu, 9 Sep 2004 13:14:28 +0000 Subject: [PATCH] WinCE fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/toplevel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 11b0b43600..551679062f 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -824,7 +824,7 @@ bool wxTopLevelWindowMSW::EnableCloseButton(bool enable) { #if !defined(__WXMICROWIN__) // get system (a.k.a. window) menu - HMENU hmenu = ::GetSystemMenu(GetHwnd(), FALSE /* get it */); + HMENU hmenu = GetSystemMenu(GetHwnd(), FALSE /* get it */); if ( !hmenu ) { // no system menu at all -- ok if we want to remove the close button @@ -941,8 +941,9 @@ void wxTopLevelWindowMSW::RequestUserAttention(int flags) #endif // FLASHW_STOP { wxUnusedVar(flags); - +#ifndef __WXWINCE__ ::FlashWindow(GetHwnd(), TRUE); +#endif // __WXWINCE__ } } -- 2.45.2