X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6ed892f3f2be3ec8f96583772757aecc00bbee30..3ef37e7f4ec5f0688a4fb47e530ca2d30a6bb3ed:/include/wx/utils.h diff --git a/include/wx/utils.h b/include/wx/utils.h index fa67028516..f7270a6617 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -80,8 +80,13 @@ WXDLLIMPEXP_BASE wxChar* copystring(const wxChar *s); // Sound the bell WXDLLIMPEXP_BASE void wxBell(); -#if defined(__WXGTK__) || defined(__WXMSW__) || defined(__WXMAC__) || defined(__X__) +#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... + + // Note - There is a X11/GTK version which will be here + // soon WXDLLIMPEXP_BASE bool wxGetKeyState(wxKeyCode key); #endif