]> git.saurik.com Git - wxWidgets.git/commitdiff
Added wxGetKeyState
authorRobin Dunn <robin@alldunn.com>
Wed, 17 Dec 2003 23:58:04 +0000 (23:58 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 17 Dec 2003 23:58:04 +0000 (23:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_functions.i

index 1d85f1a864d2e61685af6583e20d7f38c8570024..241ad3d5fd82e729f941d28c7a55cde58114c636 100644 (file)
@@ -211,6 +211,14 @@ wxWindow* wxGetTopLevelParent(wxWindow *win);
 
 
 
+#if defined(__WXMSW__) || defined(__WXMAC__)
+// Get the state of a key (true if pressed, false if not)
+// This is generally most useful getting the state of
+// Caps Lock, Num Lock and Scroll Lock...
+bool wxGetKeyState(wxKeyCode key);
+#endif
+
+
 //---------------------------------------------------------------------------
 
 #if defined(__WXMSW__) || defined(__WXMAC__)