]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcclient.cpp
Changed code to get rid of a compiler warning about statement always being FALSE
[wxWidgets.git] / src / gtk / dcclient.cpp
index 1a0bee58b5e8140a3aeb1bffd808a58e4358ae5e..f283c9b53a0fe902eb0a0a718d2ffeddb66fc08e 100644 (file)
@@ -951,7 +951,7 @@ void wxWindowDC::DoDrawEllipse( wxCoord x, wxCoord y, wxCoord width, wxCoord hei
             gdk_draw_arc( m_window, m_penGC, FALSE, xx, yy, ww, hh, 0, 360*64 );
     }
 
             gdk_draw_arc( m_window, m_penGC, FALSE, xx, yy, ww, hh, 0, 360*64 );
     }
 
-    CalcBoundingBox( x - width, y - height );
+    CalcBoundingBox( x, y );
     CalcBoundingBox( x + width, y + height );
 }
 
     CalcBoundingBox( x + width, y + height );
 }