X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20123d495814b8b8543bf43fbd63aa7ec21e5d78..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/gtk1/clipbrd.h diff --git a/include/wx/gtk1/clipbrd.h b/include/wx/gtk1/clipbrd.h index 921af6681e..eb02404678 100644 --- a/include/wx/gtk1/clipbrd.h +++ b/include/wx/gtk1/clipbrd.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: clipboard.h +// Name: wx/gtk1/clipboard.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -11,10 +11,6 @@ #ifndef __GTKCLIPBOARDH__ #define __GTKCLIPBOARDH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - #if wxUSE_CLIPBOARD #include "wx/object.h" @@ -31,7 +27,7 @@ class WXDLLIMPEXP_CORE wxClipboard : public wxClipboardBase { public: wxClipboard(); - ~wxClipboard(); + virtual ~wxClipboard(); // open the clipboard before SetData() and GetData() virtual bool Open(); @@ -57,11 +53,6 @@ public: // 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; @@ -74,7 +65,6 @@ public: bool m_formatSupported; GdkAtom m_targetRequested; - bool m_usePrimary; wxDataObject *m_receivedData; private: