]> git.saurik.com Git - wxWidgets.git/commitdiff
fix test for transparent pen broken in r65820
authorPaul Cornett <paulcor@bullseye.com>
Tue, 6 Mar 2012 04:51:40 +0000 (04:51 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 6 Mar 2012 04:51:40 +0000 (04:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dcclient.cpp

index 8e023ed656a1c2742054b61941c4d85394729d57..2fe53130f8928802eabc080b8f7753fc28cb8243 100644 (file)
@@ -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;