#ifndef _WX_SNGLINST_H_
#define _WX_SNGLINST_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "snglinst.h"
#endif
// wxSingleInstanceChecker
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxSingleInstanceChecker
+class WXDLLIMPEXP_BASE wxSingleInstanceChecker
{
public:
// default ctor, use Create() after it
void Init() { m_impl = NULL; }
// the implementation details (platform specific)
- class WXDLLEXPORT wxSingleInstanceCheckerImpl *m_impl;
+ class WXDLLIMPEXP_BASE wxSingleInstanceCheckerImpl *m_impl;
+
+ DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker)
};
#endif // wxUSE_SNGLINST_CHECKER