]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
Merge in from trunk r64802 - r68625
[wxWidgets.git] / src / common / sckfile.cpp
index 1b87a7d42123eb373234934bec28b6a971f34010..cccbd9c891488821ad1cde304faf00c247e13505 100644 (file)
@@ -45,7 +45,7 @@ wxFileProto::~wxFileProto()
 wxInputStream *wxFileProto::GetInputStream(const wxString& path)
 {
     wxFileInputStream *retval = new wxFileInputStream(wxURI::Unescape(path));
 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;
     {
         m_lastError = wxPROTO_NOERR;
         return retval;