]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/animateg.cpp
Set modifiers properly for the key events with AltGr in wxGTK.
[wxWidgets.git] / src / generic / animateg.cpp
index 227ac07e7a50f1bb65508ceb41d763a8df8addd3..d6e44ba9a225bce5993c7f61afbe0e1379e3f22e 100644 (file)
@@ -308,7 +308,7 @@ wxAnimationCtrl::~wxAnimationCtrl()
 bool wxAnimationCtrl::LoadFile(const wxString& filename, wxAnimationType type)
 {
     wxFileInputStream fis(filename);
-    if (!fis.Ok())
+    if (!fis.IsOk())
         return false;
     return Load(fis, type);
 }