X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..d25aa543aee7750ce3103dd9dbeccfddd1aa6863:/include/wx/evtloop.h?ds=sidebyside diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index 80f0916e85..354a553483 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -12,7 +12,7 @@ #ifndef _WX_EVTLOOP_H_ #define _WX_EVTLOOP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "evtloop.h" #endif @@ -55,6 +55,8 @@ protected: class WXDLLEXPORT wxEventLoopImpl *m_impl; // the pointer to currently active loop static wxEventLoop *ms_activeLoop; + + DECLARE_NO_COPY_CLASS(wxEventLoop) }; #endif // _WX_EVTLOOP_H_