// Author: Guilhem Lavaux
// Modified by:
// Created: 20/07/97
-// RCS-ID: $Id$
// Copyright: (c) 1997, 1998 Guilhem Lavaux
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
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;