X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04354c1deb9e900f89d299a88317569d55e196bf..af8481937288aa79f67b5e7df3caeef5a7824248:/include/wx/snglinst.h 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