projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implemented page close event for wxAuiNotebook
[wxWidgets.git]
/
include
/
wx
/
motif
/
clipbrd.h
diff --git
a/include/wx/motif/clipbrd.h
b/include/wx/motif/clipbrd.h
index 979d43b85e4fafc4491d661291e2e6cd36206353..7aecda908dcb8b92b7821b50adfb7dcef3c7ac6b 100644
(file)
--- a/
include/wx/motif/clipbrd.h
+++ b/
include/wx/motif/clipbrd.h
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: clipbrd.h
+// Name:
wx/motif/
clipbrd.h
// Purpose: Clipboard functionality.
// Author: Julian Smart
// Modified by:
// Purpose: Clipboard functionality.
// Author: Julian Smart
// Modified by:
@@
-12,10
+12,6
@@
#ifndef _WX_CLIPBRD_H_
#define _WX_CLIPBRD_H_
#ifndef _WX_CLIPBRD_H_
#define _WX_CLIPBRD_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "clipbrd.h"
-#endif
-
#if wxUSE_CLIPBOARD
class WXDLLIMPEXP_CORE wxDataObject;
#if wxUSE_CLIPBOARD
class WXDLLIMPEXP_CORE wxDataObject;
@@
-45,35
+41,35
@@
class WXDLLIMPEXP_CORE wxClipboard : public wxClipboardBase
{
public:
wxClipboard();
{
public:
wxClipboard();
- ~wxClipboard();
-
+
virtual
~wxClipboard();
+
// open the clipboard before SetData() and GetData()
virtual bool Open();
// open the clipboard before SetData() and GetData()
virtual bool Open();
-
+
// close the clipboard after SetData() and GetData()
virtual void Close();
// close the clipboard after SetData() and GetData()
virtual void Close();
-
+
// opened?
virtual bool IsOpened() const { return m_open; }
// opened?
virtual bool IsOpened() const { return m_open; }
-
+
// replaces the data on the clipboard with data
virtual bool SetData( wxDataObject *data );
// replaces the data on the clipboard with data
virtual bool SetData( wxDataObject *data );
-
+
// adds data to the clipboard
virtual bool AddData( wxDataObject *data );
// adds data to the clipboard
virtual bool AddData( wxDataObject *data );
-
+
// format available on the clipboard ?
virtual bool IsSupported( const wxDataFormat& format );
// format available on the clipboard ?
virtual bool IsSupported( const wxDataFormat& format );
-
+
// fill data with data on the clipboard (if available)
virtual bool GetData( wxDataObject& data );
// fill data with data on the clipboard (if available)
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();
-
+
virtual void UsePrimarySelection(bool primary = true)
{ m_usePrimary = primary; }
virtual void UsePrimarySelection(bool primary = true)
{ m_usePrimary = primary; }
-
+
// implementation from now on
bool m_open;
wxDataObjectList m_data;
// implementation from now on
bool m_open;
wxDataObjectList m_data;