From d56ca4d3f74e78ee15c9a050d44da8a1466a4630 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 25 Jun 2008 08:35:35 +0000 Subject: [PATCH] WinCE compile fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/window.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 06f846259f..e11964ab57 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -4183,7 +4183,7 @@ bool wxWindowMSW::IsDoubleBuffered() const return true; wnd = wnd->GetParent(); } while ( wnd && !wnd->IsTopLevel() ); - + return false; } @@ -5961,6 +5961,7 @@ WXWORD wxCharCodeWXToMSW(int wxk, bool *isVirtual) break; default: +#ifndef __WXWINCE__ // check to see if its one of the OEM key codes. BYTE vks = LOBYTE(VkKeyScan(wxk)); if ( vks != 0xff ) @@ -5968,6 +5969,7 @@ WXWORD wxCharCodeWXToMSW(int wxk, bool *isVirtual) vk = vks; } else +#endif { if ( isVirtual ) *isVirtual = false;