X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/68a602fcd2b0856bad6f79b957fa48beb6e10635..acf8e3d29e897ade2087e3d9048e5c448823d391:/include/wx/snglinst.h?ds=sidebyside diff --git a/include/wx/snglinst.h b/include/wx/snglinst.h index 2bcce17a82..114b73b3d1 100644 --- a/include/wx/snglinst.h +++ b/include/wx/snglinst.h @@ -13,7 +13,7 @@ #ifndef _WX_SNGLINST_H_ #define _WX_SNGLINST_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "snglinst.h" #endif @@ -60,6 +60,8 @@ private: // the implementation details (platform specific) class WXDLLEXPORT wxSingleInstanceCheckerImpl *m_impl; + + DECLARE_NO_COPY_CLASS(wxSingleInstanceChecker) }; #endif // wxUSE_SNGLINST_CHECKER