#include "PlatWX.h"
#include <wx/textbuf.h>
+#ifdef __WXMSW__
+ // GetHwndOf()
+ #include <wx/msw/private.h>
+#endif
+
//----------------------------------------------------------------------
// Helper classes
bool shift = evt.ShiftDown(),
ctrl = evt.ControlDown(),
alt = evt.AltDown();
-
+
if (ctrl && key >= 1 && key <= 26)
key += 'A' - 1;
case WXK_ESCAPE: key = SCK_ESCAPE; break;
case WXK_BACK: key = SCK_BACK; break;
case WXK_TAB: key = SCK_TAB; break;
+ case WXK_NUMPAD_ENTER: // fall through
case WXK_RETURN: key = SCK_RETURN; break;
case WXK_ADD: // fall through
case WXK_NUMPAD_ADD: key = SCK_ADD; break;