]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/file.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / protocol / file.h
index 684df8fd7ff1d3e421aa7c6c8cc1fa741c154641..4be395dccf876bc010a83ac65cde15c558e2466c 100644 (file)
 #ifndef __WX_PROTO_FILE_H__
 #define __WX_PROTO_FILE_H__
 
-#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 {
-  DECLARE_DYNAMIC_CLASS(wxFileProto)
+class WXDLLIMPEXP_NET wxFileProto: public wxProtocol {
+  DECLARE_DYNAMIC_CLASS_NO_COPY(wxFileProto)
   DECLARE_PROTOCOL(wxFileProto)
 protected:
   wxProtocolError m_error;
 public:
   wxFileProto();
-  ~wxFileProto();
+  virtual ~wxFileProto();
 
   wxProtocolError GetError() { return m_error; }
   bool Abort() { return TRUE; }