]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckfile.cpp
Don't use "Cancel" button in the about dialog of the listctrl sample.
[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));
-    if ( retval->Ok() )
+    if ( retval->IsOk() )
     {
         m_lastError = wxPROTO_NOERR;
         return retval;