|
From: andrew7 <bd...@us...> - 2007-06-11 01:19:30
|
Update of /cvsroot/smartwin/SmartWin/include/smartwin/aspects In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv9473 Modified Files: AspectKeyPressed.h Log Message: Allow WinCE to compile this Index: AspectKeyPressed.h =================================================================== RCS file: /cvsroot/smartwin/SmartWin/include/smartwin/aspects/AspectKeyPressed.h,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- AspectKeyPressed.h 5 May 2006 17:14:38 -0000 1.15 +++ AspectKeyPressed.h 11 Jun 2007 01:19:26 -0000 1.16 @@ -251,6 +251,9 @@ } else { +#ifdef WINCE + theChar= MapVirtualKey( vkey, 2 ); // Needs checking.... +#else BYTE keyboardState[256]; ::GetKeyboardState( keyboardState ); @@ -260,6 +263,7 @@ { theChar = wordchar & 0xff; } +#endif } return theChar; } |