X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6bddaaf9472231a10204058664e15f61e7c28ddc..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/clipbrd.h diff --git a/interface/wx/clipbrd.h b/interface/wx/clipbrd.h index fdcb6292ff..4064abfc7d 100644 --- a/interface/wx/clipbrd.h +++ b/interface/wx/clipbrd.h @@ -3,7 +3,7 @@ // Purpose: interface of wxClipboard // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -102,6 +102,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 +177,11 @@ public: platforms. */ virtual void UsePrimarySelection(bool primary = false); + + /** + Returns the global instance (wxTheClipboard) of the clipboard object. + */ + static wxClipboard *Get(); + };