]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't automatically copy the selection to the clipboard on the Mac
authorRobin Dunn <robin@alldunn.com>
Wed, 4 May 2005 21:07:06 +0000 (21:07 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 4 May 2005 21:07:06 +0000 (21:07 +0000)
when the selection is made.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlwin.cpp

index 69ced30b42bab417c10b88f284010135403875e2..2ec463d64184b44955346c5ac209e5217763abac 100644 (file)
@@ -804,7 +804,7 @@ bool wxHtmlWindow::CopySelection(ClipboardType t)
 #if wxUSE_CLIPBOARD
     if ( m_selection )
     {
 #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
         wxTheClipboard->UsePrimarySelection(t == Primary);
 #else // !__UNIX__
         // Primary selection exists only under X11, so don't do anything under