X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/interface/wx/protocol/ftp.h?ds=inline

diff --git a/interface/wx/protocol/ftp.h b/interface/wx/protocol/ftp.h
index aecb0ddb3b..b6a7992ffc 100644
--- a/interface/wx/protocol/ftp.h
+++ b/interface/wx/protocol/ftp.h
@@ -6,16 +6,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-/**
-    Transfer modes used by wxFTP.
-*/
-enum TransferMode
-{
-    NONE,       //!< not set by user explicitly.
-    ASCII,
-    BINARY
-};
-
 /**
     @class wxFTP
 
@@ -54,7 +44,7 @@ enum TransferMode
             wxLogError("Couldn't get the file size for \"%s\"", filename);
         }
 
-        wxInputStream *i = ftp.GetInputStream(filename);
+        wxInputStream *in = ftp.GetInputStream(filename);
         if ( !in )
         {
             wxLogError("Couldn't get the file");
@@ -100,6 +90,16 @@ enum TransferMode
 class wxFTP : public wxProtocol
 {
 public:
+    /**
+        Transfer modes used by wxFTP.
+    */
+    enum TransferMode
+    {
+        NONE,       //!< not set by user explicitly.
+        ASCII,
+        BINARY
+    };
+
     /**
         Default constructor.
     */