X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/034be8882cc091cf8ca1ccdf307190ac73adfe54..e2acb9ae1c69c1e37cbe0e46933929f5b1b021ba:/include/wx/gtk1/clipbrd.h diff --git a/include/wx/gtk1/clipbrd.h b/include/wx/gtk1/clipbrd.h index 508a3b0dd7..d940100715 100644 --- a/include/wx/gtk1/clipbrd.h +++ b/include/wx/gtk1/clipbrd.h @@ -71,6 +71,10 @@ public: // clears wxTheClipboard and the system's clipboard if possible virtual void Clear(); + /// If primary == TRUE, use primary selection in all further ops, + /// primary=FALSE resets it. + inline void UsePrimarySelection(bool primary = TRUE) { m_usePrimary = primary; } + // implementation bool m_open; @@ -85,7 +89,7 @@ public: bool m_formatSupported; GdkAtom m_targetRequested; - + bool m_usePrimary; wxDataObject *m_receivedData; };