WinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -824,7 +824,7 @@ bool wxTopLevelWindowMSW::EnableCloseButton(bool enable)
|
|||||||
{
|
{
|
||||||
#if !defined(__WXMICROWIN__)
|
#if !defined(__WXMICROWIN__)
|
||||||
// get system (a.k.a. window) menu
|
// get system (a.k.a. window) menu
|
||||||
HMENU hmenu = ::GetSystemMenu(GetHwnd(), FALSE /* get it */);
|
HMENU hmenu = GetSystemMenu(GetHwnd(), FALSE /* get it */);
|
||||||
if ( !hmenu )
|
if ( !hmenu )
|
||||||
{
|
{
|
||||||
// no system menu at all -- ok if we want to remove the close button
|
// 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
|
#endif // FLASHW_STOP
|
||||||
{
|
{
|
||||||
wxUnusedVar(flags);
|
wxUnusedVar(flags);
|
||||||
|
#ifndef __WXWINCE__
|
||||||
::FlashWindow(GetHwnd(), TRUE);
|
::FlashWindow(GetHwnd(), TRUE);
|
||||||
|
#endif // __WXWINCE__
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user