From: Robin Dunn Date: Mon, 2 Apr 2007 21:23:35 +0000 (+0000) Subject: Primary selection stuff X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d029969fcc82892fed3f43d39b5e12c50d8afa2d Primary selection stuff git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_clipbrd.i b/wxPython/src/_clipbrd.i index 23391b0eba..546fe5087f 100644 --- a/wxPython/src/_clipbrd.i +++ b/wxPython/src/_clipbrd.i @@ -114,10 +114,18 @@ exit. Returns False if the operation is unsuccesful for any reason.", ""); DocDeclStr( virtual void , UsePrimarySelection( bool primary = true ), - "On platforms supporting it (the X11 based platforms), selects the -so called PRIMARY SELECTION as the clipboard as opposed to the -normal clipboard, if primary is True.", ""); + "On platforms supporting it (the X11 based platforms), selects the so +called PRIMARY SELECTION as the clipboard as opposed to the normal +clipboard, if primary is True. On other platforms all clipboard +operations fail when using the primary selection. This allows code +supporting the primary selection to be written without ill effects on +the other platforms.", ""); + + DocDeclStr( + bool , IsUsingPrimarySelection() const, + "Return true if we're using primary selection", ""); + DocDeclStr( static wxClipboard *, Get(),