X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3399051ee9fa4dfa5fa7ac2dd9034062f4414d64..d51305e81eb593bedd92cda864671e15209c268f:/include/wx/motif/clipbrd.h diff --git a/include/wx/motif/clipbrd.h b/include/wx/motif/clipbrd.h index 5a420ed322..f4e98c9899 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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #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) };