X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05adb9d2fdc40d8620730be490bf406b8e367cf8..61ecf6d34ffb087e4a02d1c4e29e1f155875eba0:/include/wx/mac/clipbrd.h diff --git a/include/wx/mac/clipbrd.h b/include/wx/mac/clipbrd.h index a197ffa71e..17b7367b30 100644 --- a/include/wx/mac/clipbrd.h +++ b/include/wx/mac/clipbrd.h @@ -15,7 +15,7 @@ #ifndef _WX_CLIPBRD_H_ #define _WX_CLIPBRD_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "clipbrd.h" #endif @@ -25,31 +25,6 @@ #include "wx/module.h" #include "wx/dataobj.h" // for wxDataFormat -// These functions superceded by wxClipboard, but retained in order to -// implement wxClipboard, and for compatibility. - -// open/close the clipboard -WXDLLEXPORT bool wxOpenClipboard(); -WXDLLEXPORT bool wxIsClipboardOpened(); -#define wxClipboardOpen wxIsClipboardOpened -WXDLLEXPORT bool wxCloseClipboard(); - -// get/set data -WXDLLEXPORT bool wxEmptyClipboard(); -WXDLLEXPORT bool wxSetClipboardData(wxDataFormat dataFormat, - const void *data, - int width = 0, int height = 0); -WXDLLEXPORT void* wxGetClipboardData(wxDataFormat dataFormat, - long *len = NULL); - -// clipboard formats -WXDLLEXPORT bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat); -WXDLLEXPORT wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat); -WXDLLEXPORT int wxRegisterClipboardFormat(wxChar *formatName); -WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat, - wxChar *formatName, - int maxCount); - //----------------------------------------------------------------------------- // wxClipboard //----------------------------------------------------------------------------- @@ -96,7 +71,8 @@ public: void UsePrimarySelection( bool WXUNUSED(primary) = FALSE ) { } private: - bool m_clearOnExit; + wxDataObject *m_data; + bool m_open; }; #endif // wxUSE_CLIPBOARD