From: Paul Cornett Date: Tue, 6 Mar 2012 04:51:40 +0000 (+0000) Subject: fix test for transparent pen broken in r65820 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e0564c1c2fe47e2b0a1b7d5a260772be3c9e3bf6 fix test for transparent pen broken in r65820 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/dcclient.cpp b/src/gtk/dcclient.cpp index 8e023ed656..2fe53130f8 100644 --- a/src/gtk/dcclient.cpp +++ b/src/gtk/dcclient.cpp @@ -958,7 +958,7 @@ void wxWindowDCImpl::DoDrawEllipse( wxCoord x, wxCoord y, wxCoord width, wxCoord // If the pen is transparent pen we increase the size // for better compatibility with other platforms. - if ( m_pen.IsNonTransparent() ) + if (m_pen.IsTransparent()) { ++ww; ++hh;