]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/file.h
wxPrinting fix for wxMGL
[wxWidgets.git] / include / wx / protocol / file.h
index 773cdcc5b2151b52054f1f373b376110bbc98800..49f5182b1dc9b47c4280f27a0b52d59fab0b3453 100644 (file)
@@ -8,6 +8,7 @@
 // Copyright:   (c) 1997, 1998 Guilhem Lavaux
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
+
 #ifndef __WX_PROTO_FILE_H__
 #define __WX_PROTO_FILE_H__
 
 #pragma interface "sckfile.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_PROTOCOL_FILE
+
 #include "wx/protocol/protocol.h"
 #include "wx/url.h"
 
@@ -32,4 +37,6 @@ public:
   wxInputStream *GetInputStream(const wxString& path);
 };
 
-#endif
+#endif // wxUSE_PROTOCOL_FILE
+
+#endif // __WX_PROTO_FILE_H__