]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ftp.cpp
Document that wxDCClipper currently resets clipping region.
[wxWidgets.git] / src / common / ftp.cpp
index ae77931ca7a9d9b660f5cca019530d1eeb2a2350..94875a9488a4947bb2e695aee14729ba4df0b8da 100644 (file)
@@ -48,9 +48,7 @@
 #include "wx/protocol/protocol.h"
 #include "wx/protocol/ftp.h"
 
-#ifndef __MWERKS__
-    #include <memory.h>
-#endif
+#include <memory.h>
 
 // ----------------------------------------------------------------------------
 // constants
@@ -587,9 +585,9 @@ wxSocketBase *wxFTP::GetActivePort()
     addrNew.Service(0); // pick an open port number.
 
     wxSocketServer *sockSrv = new wxSocketServer(addrNew);
-    if (!sockSrv->Ok())
+    if (!sockSrv->IsOk())
     {
-        // We use Ok() here to see if everything is ok
+        // We use IsOk() here to see if everything is ok
         m_lastError = wxPROTO_PROTERR;
         delete sockSrv;
         return NULL;