From: Włodzimierz Skiba Date: Sun, 14 May 2006 22:21:32 +0000 (+0000) Subject: Fix for linking error after combo changes: dummy getting key state. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ab5903dae395cad36ca7e8ae88709674729a62f4?hp=ab82df46796e18dafbe4a1e45dd2a34de2b5b674 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 --- 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);