/////////////////////////////////////////////////////////////////////////////
-// Name: clipboard.h
+// Name: wx/mgl/clipboard.h
// Purpose:
// Author: Vaclav Slavik
// Id: $Id$
-// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
#ifndef __WX_CLIPBOARD_H__
#define __WX_CLIPBOARD_H__
-#ifdef __GNUG__
-#pragma interface "clipbrd.h"
-#endif
-
#if wxUSE_CLIPBOARD
#include "wx/object.h"
{
public:
wxClipboard() {}
- ~wxClipboard() {}
+ virtual ~wxClipboard() {}
// open the clipboard before SetData() and GetData()
virtual bool Open() {}
// clears wxTheClipboard and the system's clipboard if possible
virtual void Clear() {}
- // If primary == TRUE, use primary selection in all further ops,
- // primary == FALSE resets it.
- virtual void UsePrimarySelection(bool primary = TRUE)
- { m_usePrimary = primary; }
-
// implementation from now on
bool m_open;
bool m_ownsClipboard;
bool m_formatSupported;
GdkAtom m_targetRequested;
- bool m_usePrimary;
wxDataObject *m_receivedData;
private: