From ab5903dae395cad36ca7e8ae88709674729a62f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Sun, 14 May 2006 22:21:32 +0000 Subject: [PATCH] Fix for linking error after combo changes: dummy getting key state. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/window.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/os2/window.cpp b/src/os2/window.cpp index 72bebe9bee..2727640fb4 100644 --- a/src/os2/window.cpp +++ b/src/os2/window.cpp @@ -4495,6 +4495,18 @@ int wxCharCodeWXToOS2( int nId, return nKeySym; } // end of wxCharCodeWXToOS2 + +bool wxGetKeyState(wxKeyCode key) +{ + wxASSERT_MSG(key != WXK_LBUTTON && key != WXK_RBUTTON && key != + WXK_MBUTTON, wxT("can't use wxGetKeyState() for mouse buttons")); + + // TODO + + return false; +} + + wxWindow* wxGetActiveWindow() { HWND hWnd = ::WinQueryActiveWindow(HWND_DESKTOP); -- 2.45.2