]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/file.h
wxMac doesn't need UseNativeStatusBar hack
[wxWidgets.git] / include / wx / protocol / file.h
index 773cdcc5b2151b52054f1f373b376110bbc98800..762c1bff9a9869412983fac837e02cd40e6f29da 100644 (file)
@@ -6,19 +6,24 @@
 // Created:     1997
 // RCS-ID:      $Id$
 // Copyright:   (c) 1997, 1998 Guilhem Lavaux
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
+
 #ifndef __WX_PROTO_FILE_H__
 #define __WX_PROTO_FILE_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "sckfile.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_PROTOCOL_FILE
+
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
 
-class WXDLLEXPORT wxFileProto: public wxProtocol {
+class WXDLLIMPEXP_BASE wxFileProto: public wxProtocol {
   DECLARE_DYNAMIC_CLASS(wxFileProto)
   DECLARE_PROTOCOL(wxFileProto)
 protected:
@@ -32,4 +37,6 @@ public:
   wxInputStream *GetInputStream(const wxString& path);
 };
 
-#endif
+#endif // wxUSE_PROTOCOL_FILE
+
+#endif // __WX_PROTO_FILE_H__