X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89be8239db1ae24f501ac68c5bcff3e5ca2efa84..0dfef5a8124ac0f1bb2aed6ef5ddfa833e8e2c6e:/samples/richedit/wxlwindow.h?ds=sidebyside diff --git a/samples/richedit/wxlwindow.h b/samples/richedit/wxlwindow.h index 5453903a23..fa0ba4b291 100644 --- a/samples/richedit/wxlwindow.h +++ b/samples/richedit/wxlwindow.h @@ -23,8 +23,6 @@ #endif -#define wxUSE_PRIVATE_CLIPBOARD_FORMAT 0 - enum { WXLOWIN_MENU_LARGER = WXLOWIN_MENU_FIRST, @@ -97,24 +95,21 @@ public: m_CursorVisibility = visibility; return v;} /// Pastes text from clipboard. - void Paste(bool usePrimarySelection = FALSE); + void Paste(bool privateFormat = FALSE, bool usePrimarySelection = FALSE); /** Copies selection to clipboard. @param invalidate used internally, see wxllist.h for details */ - bool Copy(bool invalidate = true); + bool Copy(bool invalidate = true, bool privateFormat = FALSE, bool primary = FALSE); /// Copies selection to clipboard and deletes it. - bool Cut(void); + bool Cut(bool privateFormat = FALSE, bool usePrimary = FALSE); //@} -#ifdef M_BASEDIR /// find string in buffer bool Find(const wxString &needle, wxPoint * fromWhere = NULL, const wxString &configPath = "MsgViewFindString"); /// find the same string again bool FindAgain(void); -#endif - void EnablePopup(bool enable = true) { m_DoPopupMenu = enable; }