X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..c6ea1fdaf924be4ee49a19d12f76e4fcd257bb0a:/include/wx/x11/clipbrd.h?ds=sidebyside diff --git a/include/wx/x11/clipbrd.h b/include/wx/x11/clipbrd.h index ebc36f9574..48a7c70350 100644 --- a/include/wx/x11/clipbrd.h +++ b/include/wx/x11/clipbrd.h @@ -1,19 +1,15 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: clipbrd.h +// Name: wx/x11/clipbrd.h // Purpose: Clipboard functionality. // Author: Robert Roebling // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Robert Roebling -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifndef __X11CLIPBOARDH__ -#define __X11CLIPBOARDH__ - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif +#ifndef _WX_X11_CLIPBRD_H_ +#define _WX_X11_CLIPBRD_H_ #if wxUSE_CLIPBOARD @@ -27,11 +23,11 @@ // wxClipboard // ---------------------------------------------------------------------------- -class 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 +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,15 +65,12 @@ public: bool m_formatSupported; Atom m_targetRequested; - bool m_usePrimary; wxDataObject *m_receivedData; private: DECLARE_DYNAMIC_CLASS(wxClipboard) }; -#endif - // wxUSE_CLIPBOARD +#endif // wxUSE_CLIPBOARD -#endif - // __X11CLIPBOARDH__ +#endif // _WX_X11_CLIPBRD_H_