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

@@ -5138,7 +5138,7 @@ int wxCharCodeWXToMSW(int id, bool *isVirtual)
return keySym;
}
bool wxGetKeyState(wxKeyCode key)
bool wxGetKeyState(const wxKeyCode& key)
{
bool bVirtual;
int vkey = wxCharCodeWXToMSW(key, &bVirtual);