From: Robin Dunn Date: Wed, 4 May 2005 21:07:06 +0000 (+0000) Subject: Don't automatically copy the selection to the clipboard on the Mac X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/28b2ac5b1a9217ec44f9a8c11950366c670ccc02?ds=sidebyside Don't automatically copy the selection to the clipboard on the Mac when the selection is made. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 69ced30b42..2ec463d641 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -804,7 +804,7 @@ bool wxHtmlWindow::CopySelection(ClipboardType t) #if wxUSE_CLIPBOARD if ( m_selection ) { -#ifdef __UNIX__ +#if defined(__UNIX__) && !defined(__WXMAC__) wxTheClipboard->UsePrimarySelection(t == Primary); #else // !__UNIX__ // Primary selection exists only under X11, so don't do anything under