X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..2a039701a8aebaf8eb7e7cbc408dbb994661975f:/include/wx/clipbrd.h diff --git a/include/wx/clipbrd.h b/include/wx/clipbrd.h index 69c06bdce4..ca72949a5c 100644 --- a/include/wx/clipbrd.h +++ b/include/wx/clipbrd.h @@ -12,7 +12,7 @@ #ifndef _WX_CLIPBRD_H_BASE_ #define _WX_CLIPBRD_H_BASE_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "clipboardbase.h" #endif @@ -94,10 +94,10 @@ public: #include "wx/mgl/clipbrd.h" #elif defined(__WXMAC__) #include "wx/mac/clipbrd.h" +#elif defined(__WXCOCOA__) + #include "wx/cocoa/clipbrd.h" #elif defined(__WXPM__) #include "wx/os2/clipbrd.h" -#elif defined(__WXSTUBS__) - #include "wx/stubs/clipbrd.h" #endif // ---------------------------------------------------------------------------- @@ -135,6 +135,8 @@ public: private: wxClipboard *m_clipboard; + + DECLARE_NO_COPY_CLASS(wxClipboardLocker) }; #endif // wxUSE_CLIPBOARD