]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ftp.cpp
min and max setters added (xti)
[wxWidgets.git] / src / common / ftp.cpp
index cd5435952e5383e0ddeec3f17501199633aca70c..c85d7adbe3d20e6f7b6abc94d3cb4a94cb7d264e 100644 (file)
 // Created:     07/07/1997
 // RCS-ID:      $Id$
 // Copyright:   (c) 1997, 1998 Guilhem Lavaux
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
 // declarations
 // ============================================================================
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
   #pragma implementation "ftp.h"
 #endif
 
@@ -894,7 +894,7 @@ wxList *wxFTP::GetList(const wxString& wildcard, bool details)
 {
  wxSocketBase *sock = GetPort();
  if (!sock)
-  return FALSE;
+  return NULL;
  wxList *file_list = new wxList;
  wxString line;
  // NLST : List of Filenames (including Directory's !)