]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/clipbrd.h
Fix for missing -g from wx-config
[wxWidgets.git] / include / wx / mac / clipbrd.h
index a197ffa71e51e6f466c5e0a0a88ea1558670ff4d..62fe3e51c471bccb3cd6173b5ad13cddc7a81466 100644 (file)
 #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