]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/snglinst.h
fix for wxGTK1 & bmpbuttn
[wxWidgets.git] / include / wx / snglinst.h
index 5c6f33fe1c2adaeb7b7b9a7cfe4e86d0088aaf0c..a8f508aefbbecb32c2acb6693388b51462954c85 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,9 +55,9 @@ 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)
+    wxDECLARE_NO_COPY_CLASS(wxSingleInstanceChecker);
 };
 
 #endif // wxUSE_SNGLINST_CHECKER
 };
 
 #endif // wxUSE_SNGLINST_CHECKER