]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/snglinst.h
Committing in .
[wxWidgets.git] / include / wx / snglinst.h
index 2bcce17a820da4ebb62962d9b43b6d19a8ce264f..114b73b3d1afb911af18bbfc69d5839b14e99652 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_SNGLINST_H_
 #define _WX_SNGLINST_H_
 
 #ifndef _WX_SNGLINST_H_
 #define _WX_SNGLINST_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "snglinst.h"
 #endif
 
     #pragma interface "snglinst.h"
 #endif
 
@@ -60,6 +60,8 @@ private:
 
     // the implementation details (platform specific)
     class WXDLLEXPORT wxSingleInstanceCheckerImpl *m_impl;
 
     // the implementation details (platform specific)
     class WXDLLEXPORT wxSingleInstanceCheckerImpl *m_impl;
+
+    DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker)
 };
 
 #endif // wxUSE_SNGLINST_CHECKER
 };
 
 #endif // wxUSE_SNGLINST_CHECKER