X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b3c03420c876fccd6e12999e4a52d9470b9ef1f9..a8f84bcded3777de8ca995dbbcf428aa9ca14725:/src/html/htmlwin.cpp diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 69ced30b42..83307773bc 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 @@ -826,6 +826,8 @@ bool wxHtmlWindow::CopySelection(ClipboardType t) return true; } } +#else + wxUnusedVar(t); #endif // wxUSE_CLIPBOARD return false; @@ -1027,6 +1029,8 @@ void wxHtmlWindow::OnMouseDown(wxMouseEvent& event) CaptureMouse(); } } +#else + wxUnusedVar(event); #endif // wxUSE_CLIPBOARD }