]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/window.h
Fix some compilation and linking errors in samples.
[wxWidgets.git] / include / wx / msw / window.h
index 0e0f8317df02e84b9ba8c606860b2ad76f9b2df5..63cdaf66dd1a811b7e7aaa6ea4928c8049f4135a 100644 (file)
@@ -177,11 +177,11 @@ public:
     wxWindow* GetWindowChild(wxWindowID id);
 #endif // __WXUNIVERSAL__
 
-#if wxUSE_ACCEL
+#if wxUSE_HOTKEY
     // install and deinstall a system wide hotkey
-    virtual bool RegisterHotKey(int hotkeyId, int modifiers, int virtualKeyCode);
+    virtual bool RegisterHotKey(int hotkeyId, int modifiers, int keycode);
     virtual bool UnregisterHotKey(int hotkeyId);
-#endif
+#endif // wxUSE_HOTKEY
 
     // implementation from now on
     // --------------------------