X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd38c87578df7a24a491401c943988e2bc89b62b..75d3838010e2d8a9592a4a016e2994f4f0d3070b:/include/wx/motif/clipbrd.h diff --git a/include/wx/motif/clipbrd.h b/include/wx/motif/clipbrd.h index c1a91626b5..1e16040456 100644 --- a/include/wx/motif/clipbrd.h +++ b/include/wx/motif/clipbrd.h @@ -12,16 +12,19 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "clipbrd.h" #endif #if wxUSE_CLIPBOARD class wxDataObject; +struct wxDataIdToDataObject; #include "wx/list.h" + WX_DECLARE_LIST(wxDataObject, wxDataObjectList); +WX_DECLARE_LIST(wxDataIdToDataObject, wxDataIdToDataObjectList); bool WXDLLEXPORT wxOpenClipboard(); bool WXDLLEXPORT wxClipboardOpen(); @@ -72,11 +75,11 @@ public: { m_usePrimary = primary; } // implementation from now on - bool m_open; wxDataObjectList m_data; bool m_usePrimary; - + wxDataIdToDataObjectList m_idToObject; + private: DECLARE_DYNAMIC_CLASS(wxClipboard) };