projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More warning and error fixes (work in progress with Tinderbox).
[wxWidgets.git]
/
include
/
wx
/
os2
/
clipbrd.h
diff --git
a/include/wx/os2/clipbrd.h
b/include/wx/os2/clipbrd.h
index 0d9110188d861b1f817fbe87fd74ebaa5e0a31cf..2db04c431a1c7fa4f5786c7815b5a69f47200dc4 100644
(file)
--- a/
include/wx/os2/clipbrd.h
+++ b/
include/wx/os2/clipbrd.h
@@
-2,8
+2,8
@@
// Name: clipbrd.h
// Purpose: Clipboard functionality.
// Note: this functionality is under review, and
// Name: clipbrd.h
// Purpose: Clipboard functionality.
// Note: this functionality is under review, and
-// is derived from wxWi
ndow
s 1.xx code. Please contact
-// the wxWi
ndow
s developers for further information.
+// is derived from wxWi
dget
s 1.xx code. Please contact
+// the wxWi
dget
s developers for further information.
// Author: David Webster
// Modified by:
// Created: 10/13/99
// Author: David Webster
// Modified by:
// Created: 10/13/99
@@
-51,7
+51,7
@@
WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat,
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxDataObject;
//-----------------------------------------------------------------------------
class WXDLLEXPORT wxDataObject;
-class WXDLLEXPORT wxClipboard : public wx
Object
+class WXDLLEXPORT wxClipboard : public wx
ClipboardBase
{
DECLARE_DYNAMIC_CLASS(wxClipboard)
{
DECLARE_DYNAMIC_CLASS(wxClipboard)
@@
-65,6
+65,9
@@
public:
// close the clipboard after SetData() and GetData()
virtual void Close();
// close the clipboard after SetData() and GetData()
virtual void Close();
+ // query whether the clipboard is opened
+ virtual bool IsOpened() const;
+
// set the clipboard data. all other formats will be deleted.
virtual bool SetData( wxDataObject *data );
// set the clipboard data. all other formats will be deleted.
virtual bool SetData( wxDataObject *data );
@@
-72,10
+75,10
@@
public:
virtual bool AddData( wxDataObject *data );
// ask if data in correct format is available
virtual bool AddData( wxDataObject *data );
// ask if data in correct format is available
- virtual bool IsSupported(
wxDataFormat
format );
+ virtual bool IsSupported(
const wxDataFormat&
format );
// fill data with data on the clipboard (if available)
// fill data with data on the clipboard (if available)
- virtual bool GetData( wxDataObject
*
data );
+ virtual bool GetData( wxDataObject
&
data );
// clears wxTheClipboard and the system's clipboard if possible
virtual void Clear();
// clears wxTheClipboard and the system's clipboard if possible
virtual void Clear();