X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..ea160f01c60cfc879e1ba3ffec76d113a0404603:/interface/wx/clipbrd.h diff --git a/interface/wx/clipbrd.h b/interface/wx/clipbrd.h index 2a51212c63..4064abfc7d 100644 --- a/interface/wx/clipbrd.h +++ b/interface/wx/clipbrd.h @@ -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(); + };