]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/snglinst.h
add a critical section protecting ms_prev variables (replaces patch 1819224)
[wxWidgets.git] / include / wx / snglinst.h
index 5c6f33fe1c2adaeb7b7b9a7cfe4e86d0088aaf0c..a06004836081cc063b95cbabccc2decf94eac41b 100644 (file)
 #ifndef _WX_SNGLINST_H_
 #define _WX_SNGLINST_H_
 
 #ifndef _WX_SNGLINST_H_
 #define _WX_SNGLINST_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "snglinst.h"
-#endif
-
 #if wxUSE_SNGLINST_CHECKER
 
 // ----------------------------------------------------------------------------
 #if wxUSE_SNGLINST_CHECKER
 
 // ----------------------------------------------------------------------------
@@ -59,7 +55,7 @@ private:
     void Init() { m_impl = NULL; }
 
     // the implementation details (platform specific)
     void Init() { m_impl = NULL; }
 
     // the implementation details (platform specific)
-    class WXDLLIMPEXP_BASE wxSingleInstanceCheckerImpl *m_impl;
+    class WXDLLIMPEXP_FWD_BASE wxSingleInstanceCheckerImpl *m_impl;
 
     DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker)
 };
 
     DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker)
 };