X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b6aa0ff15be125c6f5f641e586002ec0c0330a2..3883022093c42e3fb7b248ea2cb4bbd1e056a75b:/include/wx/motif/clipbrd.h diff --git a/include/wx/motif/clipbrd.h b/include/wx/motif/clipbrd.h index a86215aeab..dceeabcfaa 100644 --- a/include/wx/motif/clipbrd.h +++ b/include/wx/motif/clipbrd.h @@ -22,6 +22,8 @@ #include "wx/defs.h" #include "wx/setup.h" +#include "wx/dataobj.h" + #include "wx/list.h" #include "wx/module.h" @@ -69,10 +71,15 @@ 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; wxList m_data; + bool m_usePrimary; }; /* The clipboard */