X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..6b73ac78de432fc7af184194dab711f5a872e38e:/include/wx/mgl/clipbrd.h diff --git a/include/wx/mgl/clipbrd.h b/include/wx/mgl/clipbrd.h index f006a4549f..307cc8de0b 100644 --- a/include/wx/mgl/clipbrd.h +++ b/include/wx/mgl/clipbrd.h @@ -1,20 +1,15 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: clipboard.h +// Name: wx/mgl/clipboard.h // Purpose: // Author: Vaclav Slavik // Id: $Id$ // Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __WX_CLIPBOARD_H__ #define __WX_CLIPBOARD_H__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "clipbrd.h" -#endif - #if wxUSE_CLIPBOARD #include "wx/object.h" @@ -31,7 +26,7 @@ class WXDLLEXPORT wxClipboard : public wxClipboardBase { public: wxClipboard() {} - ~wxClipboard() {} + virtual ~wxClipboard() {} // open the clipboard before SetData() and GetData() virtual bool Open() {} @@ -57,11 +52,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 +64,6 @@ public: bool m_formatSupported; GdkAtom m_targetRequested; - bool m_usePrimary; wxDataObject *m_receivedData; private: