]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fs_inet.h
wxTheApp can't be assigned to any longer
[wxWidgets.git] / include / wx / fs_inet.h
index 4f4205ccc17a50d055f2a61b008ca9b7ff44e0ff..c2e9bc0e1e0da1685844171bf390df39a6f9c141 100644 (file)
@@ -18,26 +18,28 @@ limitation)
 
 
 */
+#ifndef _WX_FS_INET_H_
+#define _WX_FS_INET_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "fs_inet.h"
 #endif
 
-#include "wx/wxprec.h"
-
-#ifdef __BORDLANDC__
-#pragma hdrstop
-#endif
+#include "wx/defs.h"
 
 #if wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
 
+#ifndef WXPRECOMP
+    #include "wx/hash.h"
+#endif
+
 #include "wx/filesys.h"
 
 //--------------------------------------------------------------------------------
 // wxInternetFSHandler
 //--------------------------------------------------------------------------------
 
-class WXDLLEXPORT wxInternetFSHandler : public wxFileSystemHandler
+class WXDLLIMPEXP_NET wxInternetFSHandler : public wxFileSystemHandler
 {
     private:
         wxHashTable m_Cache;
@@ -51,3 +53,5 @@ class WXDLLEXPORT wxInternetFSHandler : public wxFileSystemHandler
 #endif
   // wxUSE_FILESYSTEM && wxUSE_FS_INET && wxUSE_STREAMS && wxUSE_SOCKETS
 
+#endif // _WX_FS_INET_H_
+