X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df0e1b64e382510896c2ae3849cca91baede40d7..1bc822dfb5cdc24fd2d98b59ea20c9951301bfb1:/include/wx/evtloop.h diff --git a/include/wx/evtloop.h b/include/wx/evtloop.h index 4ff934f8a7..e2ae68ce6c 100644 --- a/include/wx/evtloop.h +++ b/include/wx/evtloop.h @@ -12,7 +12,7 @@ #ifndef _WX_EVTLOOP_H_ #define _WX_EVTLOOP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #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_