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:
@@ -762,7 +762,7 @@ KeySym wxCharCodeWXToX(int id)
|
||||
|
||||
#include <wx/app.h>
|
||||
|
||||
bool wxGetKeyState(wxKeyCode key)
|
||||
bool wxGetKeyState(const wxKeyCode& key)
|
||||
{
|
||||
#if defined(__WXX11__)
|
||||
Display *pDisplay = (Display*) wxApp::GetDisplay();
|
||||
|
Reference in New Issue
Block a user