X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/clipbrd.h?ds=sidebyside diff --git a/interface/wx/clipbrd.h b/interface/wx/clipbrd.h index 2a51212c63..3b1ca4d83e 100644 --- a/interface/wx/clipbrd.h +++ b/interface/wx/clipbrd.h @@ -2,7 +2,6 @@ // Name: clipbrd.h // Purpose: interface of wxClipboard // Author: wxWidgets team -// RCS-ID: $Id$ // 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(); + };