]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
added wxPtrToUInt() to cast pointer to an integer type without warnings
[wxWidgets.git] / src / msw / window.cpp
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);