X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6bddaaf9472231a10204058664e15f61e7c28ddc..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/clipbrd.h diff --git a/interface/wx/clipbrd.h b/interface/wx/clipbrd.h index fdcb6292ff..3b1ca4d83e 100644 --- a/interface/wx/clipbrd.h +++ b/interface/wx/clipbrd.h @@ -2,8 +2,7 @@ // Name: clipbrd.h // Purpose: interface of wxClipboard // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -102,6 +101,9 @@ public: (possibly eating memory), otherwise the clipboard will be emptied on exit. + Currently this method is not implemented in X11-based ports, i.e. + wxGTK, wxX11 and wxMotif and always returns @false there. + @return @false if the operation is unsuccessful for any reason. */ virtual bool Flush(); @@ -174,5 +176,11 @@ public: platforms. */ virtual void UsePrimarySelection(bool primary = false); + + /** + Returns the global instance (wxTheClipboard) of the clipboard object. + */ + static wxClipboard *Get(); + };