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
This commit is contained in:
@@ -804,7 +804,7 @@ bool wxHtmlWindow::CopySelection(ClipboardType t)
|
|||||||
#if wxUSE_CLIPBOARD
|
#if wxUSE_CLIPBOARD
|
||||||
if ( m_selection )
|
if ( m_selection )
|
||||||
{
|
{
|
||||||
#ifdef __UNIX__
|
#if defined(__UNIX__) && !defined(__WXMAC__)
|
||||||
wxTheClipboard->UsePrimarySelection(t == Primary);
|
wxTheClipboard->UsePrimarySelection(t == Primary);
|
||||||
#else // !__UNIX__
|
#else // !__UNIX__
|
||||||
// Primary selection exists only under X11, so don't do anything under
|
// Primary selection exists only under X11, so don't do anything under
|
||||||
|
Reference in New Issue
Block a user