]> git.saurik.com Git - wxWidgets.git/commitdiff
revert bad change
authorRyan Norton <wxprojects@comcast.net>
Mon, 27 Sep 2004 22:46:16 +0000 (22:46 +0000)
committerRyan Norton <wxprojects@comcast.net>
Mon, 27 Sep 2004 22:46:16 +0000 (22:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/function.tex
include/wx/utils.h
src/mac/carbon/app.cpp
src/mac/classic/app.cpp
src/msw/window.cpp
src/unix/utilsx11.cpp

index 9fb3b8de4361269d8a13da75bd987d55206598fe..e00e9a84a5772c0ecdef5d205e692e747b07c8e7 100644 (file)
@@ -2601,7 +2601,7 @@ this language feature but still take advantage of it when it is available.
 
 \membersection{::wxGetKeyState}\label{wxgetkeystate}
 
-\func{bool}{wxGetKeyState}{\param{const wxKeyCode\& }{key}}
+\func{bool}{wxGetKeyState}{\param{wxKeyCode }{key}}
 
 Returns \true if the key parameter is currently pressed on the keyboard, or
 with modifier keys, (caps lock, etc) if the key is active (the led light is
index 14ed37d23f00e72bc8f6ccb75579ed8d87034a1a..1cc4f72a8e6c07b15e270b2e81487cb13b9a83eb 100644 (file)
@@ -101,7 +101,7 @@ WXDLLIMPEXP_BASE wxString wxGetDataDir();
 // Get the state of a key (true if pressed, false if not)
 // This is generally most useful getting the state of
 // the modifier or toggle keys.
-WXDLLEXPORT bool wxGetKeyState(const wxKeyCode& key);
+WXDLLEXPORT bool wxGetKeyState(wxKeyCode key);
 
 
 // Don't synthesize KeyUp events holding down a key and producing
index 13f815ae18a027980c5427c9fd4766cae32b7bd7..082a1c35ed12239bbad6873810264c7ca28f4ef6 100644 (file)
@@ -1177,7 +1177,7 @@ int wxMacKeyCodeToModifier(wxKeyCode key)
     }
 }
 
-bool wxGetKeyState(const wxKeyCode& key) //virtual key code if < 10.2.x, else see below
+bool wxGetKeyState(wxKeyCode key) //virtual key code if < 10.2.x, else see below
 {
 #ifdef __DARWIN__
     // Startup HID keyboard for getting key codes on DARWIN
index b69f1a295c1aa75b7c4cafdc092a32633f7fdb76..610f33f0b42b5b211d18802214da47f77f255830 100644 (file)
@@ -1851,7 +1851,7 @@ int wxKeyCodeToMacModifier(wxKeyCode key)
     }
 }
 
-bool wxGetKeyState(const wxKeyCode& key) //virtual key code if < 10.2.x, else see below
+bool wxGetKeyState(wxKeyCode key) //virtual key code if < 10.2.x, else see below
 {
 #if __WXMAC_CARBON__
 //TODO: Low get map...
index d90ee63d4d3857dbe21f47135eb03f15d608cc87..2d23c631f1ae455ee816550aa274a082896bb8c7 100644 (file)
@@ -5123,7 +5123,7 @@ int wxCharCodeWXToMSW(int id, bool *isVirtual)
     return keySym;
 }
 
-bool wxGetKeyState(const wxKeyCode& key)
+bool wxGetKeyState(wxKeyCode key)
 {
     bool bVirtual;
     int vkey = wxCharCodeWXToMSW(key, &bVirtual);
index 9df6307cc3fc530faf9d7b559f28dcc8a594cf59..8d400126c660603c0a30818813df572f6cd44387 100644 (file)
@@ -762,7 +762,7 @@ KeySym wxCharCodeWXToX(int id)
 
 #include <wx/app.h>
 
-bool wxGetKeyState(const wxKeyCode& key)
+bool wxGetKeyState(wxKeyCode key)
 {
 #if defined(__WXX11__)
     Display *pDisplay = (Display*) wxApp::GetDisplay();