]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/animate/anitest.cpp
Fix setting the parent of wxProgressDialog.
[wxWidgets.git] / samples / animate / anitest.cpp
index 413558002f2f69156afb57e5ad2ab8ca95c8c46b..e2500c0fc55aed7376021d691b0fe3e6f9ed0d2f 100644 (file)
@@ -293,7 +293,7 @@ void MyFrame::OnOpen(wxCommandEvent& WXUNUSED(event))
         m_animationCtrl->Play();
     #else
         wxFileInputStream stream(filename);
-        if (!stream.Ok())
+        if (!stream.IsOk())
         {
             wxLogError(wxT("Sorry, this animation is not a valid format for wxAnimation."));
             return;