]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/gtk/clipbrd.h
1 /////////////////////////////////////////////////////////////////////////////
4 // Author: Robert Roebling
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
11 #ifndef __GTKCLIPBOARDH__
12 #define __GTKCLIPBOARDH__
19 #include "wx/object.h"
21 #include "wx/control.h"
22 #include "wx/dnd.h" // for wxDataObject
24 //-----------------------------------------------------------------------------
26 //-----------------------------------------------------------------------------
30 //-----------------------------------------------------------------------------
32 //-----------------------------------------------------------------------------
34 void wxInitClipboard();
35 void wxDoneClipboard();
37 //-----------------------------------------------------------------------------
39 //-----------------------------------------------------------------------------
41 extern wxClipboard
* wxTheClipboard
;
43 //-----------------------------------------------------------------------------
45 //-----------------------------------------------------------------------------
47 class wxClipboard
: public wxObject
49 DECLARE_DYNAMIC_CLASS(wxClipboard
)
56 virtual void SetData( wxDataObject
*data
);
57 virtual void *GetData( wxDataFormat format
, size_t *length
);
58 virtual bool IsAvailable( wxDataFormat format
);
65 void *m_receivedTargets
;
66 size_t m_receivedLength
;
67 GtkWidget
*m_clipboardWidget
;