]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
Use std::isfinite() for wxFinite() for C++11 compilers.
[wxWidgets.git] / src / common / sckfile.cpp
index 1b87a7d42123eb373234934bec28b6a971f34010..4b7b6cee1cfb0a93aaf6cae4cf0b60326eb3c9a6 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Guilhem Lavaux
 // Modified by:
 // Created:     20/07/97
-// RCS-ID:      $Id$
 // Copyright:   (c) 1997, 1998 Guilhem Lavaux
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -45,7 +44,7 @@ wxFileProto::~wxFileProto()
 wxInputStream *wxFileProto::GetInputStream(const wxString& path)
 {
     wxFileInputStream *retval = new wxFileInputStream(wxURI::Unescape(path));
-    if ( retval->Ok() )
+    if ( retval->IsOk() )
     {
         m_lastError = wxPROTO_NOERR;
         return retval;