]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/accel.cpp
Enable variadic macros for VC9 and later.
[wxWidgets.git] / src / msw / accel.cpp
index 1da9cb7597b65dbcd61da9342e18573969fc351e..434df30367cd47b2a4da226438ce73791419467a 100644 (file)
@@ -148,7 +148,7 @@ WXHACCEL wxAcceleratorTable::GetHACCEL() const
 bool wxAcceleratorTable::Translate(wxWindow *window, WXMSG *wxmsg) const
 {
     MSG *msg = (MSG *)wxmsg;
-    return Ok() && ::TranslateAccelerator(GetHwndOf(window), GetHaccel(), msg);
+    return IsOk() && ::TranslateAccelerator(GetHwndOf(window), GetHaccel(), msg);
 }
 
 #endif // wxUSE_ACCEL