]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/protocol/file.h
take the address of the member in wxON_BLOCK_EXIT_OBJ macros
[wxWidgets.git] / include / wx / protocol / file.h
index 684df8fd7ff1d3e421aa7c6c8cc1fa741c154641..ebd8093d93a8f4da301c1efbf62019aaa060adba 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef __WX_PROTO_FILE_H__
 #define __WX_PROTO_FILE_H__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "sckfile.h"
 #endif
 
@@ -23,8 +23,8 @@
 #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;