]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dialup.h
better leak error reporting using VC CRT (patch 828250)
[wxWidgets.git] / include / wx / dialup.h
index b877c6b3698a248ba00993fb55a66ba4c74eb145..d14a6c8870ac6ffbeb91f0042064838ab54c3707 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DIALUP_H
 #define _WX_DIALUP_H
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "dialup.h"
 #endif
 
@@ -182,6 +182,9 @@ public:
 
     // implement the base class pure virtual
     virtual wxEvent *Clone() const { return new wxDialUpEvent(*this); }
+
+private:
+    DECLARE_NO_ASSIGN_CLASS(wxDialUpEvent)
 };
 
 // the type of dialup event handler function