]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/_misc.py
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _misc.py
index b4494a06154b2058b00a8d913dcf96c9543fc200..f45e23f3c40d3a1fc810b73b41af81b7ddc4a7ac 100644 (file)
@@ -5669,12 +5669,23 @@ class Clipboard(_core.Object):
         """
         UsePrimarySelection(self, bool primary=True)
 
         """
         UsePrimarySelection(self, 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.
         """
         return _misc_.Clipboard_UsePrimarySelection(*args, **kwargs)
 
         """
         return _misc_.Clipboard_UsePrimarySelection(*args, **kwargs)
 
+    def IsUsingPrimarySelection(*args, **kwargs):
+        """
+        IsUsingPrimarySelection(self) -> bool
+
+        Return true if we're using primary selection
+        """
+        return _misc_.Clipboard_IsUsingPrimarySelection(*args, **kwargs)
+
     def Get(*args, **kwargs):
         """
         Get() -> Clipboard
     def Get(*args, **kwargs):
         """
         Get() -> Clipboard