pass by reference, not value

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-09-27 07:45:15 +00:00
parent 342689c865
commit 6be23c2a23
6 changed files with 7 additions and 14 deletions

View 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(wxKeyCode key);
WXDLLEXPORT bool wxGetKeyState(const wxKeyCode& key);
// Don't synthesize KeyUp events holding down a key and producing