X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52750c2e106113bc8d1c46289474adfd405d5ade..9c805dec6caf3c98a3797898cffe795b5b56e606:/include/wx/mgl/clipbrd.h diff --git a/include/wx/mgl/clipbrd.h b/include/wx/mgl/clipbrd.h index 595f5f43e0..d0693667a4 100644 --- a/include/wx/mgl/clipbrd.h +++ b/include/wx/mgl/clipbrd.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: clipboard.h +// Name: wx/mgl/clipbrd.h // Purpose: // Author: Vaclav Slavik // Id: $Id$ @@ -7,14 +7,9 @@ // 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" @@ -27,11 +22,11 @@ // wxClipboard // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxClipboard : public wxClipboardBase +class WXDLLIMPEXP_CORE 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: