X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9edff064d1443d15937ca429917527483f46a31..7822ffb1de54dbb0b89e03c3bae89a5ee91c7169:/src/common/dcgraph.cpp diff --git a/src/common/dcgraph.cpp b/src/common/dcgraph.cpp index b58590edc3..66a531bb47 100644 --- a/src/common/dcgraph.cpp +++ b/src/common/dcgraph.cpp @@ -505,7 +505,7 @@ void wxGCDCImpl::SetLogicalFunction( wxRasterOperationMode function ) if (m_logicalFunctionSupported) m_logicalFunctionSupported = m_graphicContext->SetCompositionMode(mode); - if (mode == wxCOMPOSITION_XOR) + if ( function == wxXOR ) m_graphicContext->SetAntialiasMode(wxANTIALIAS_NONE); else m_graphicContext->SetAntialiasMode(wxANTIALIAS_DEFAULT);