]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dc.h
More key event work. Added SetDetectableAutoRepeat.
[wxWidgets.git] / include / wx / dc.h
index 052ec417d6d3e2f7b0cacd930ed01726fa30b914..21f4542bd3a32045e4d6556d1e5b3faa29d1456c 100644 (file)
@@ -57,7 +57,7 @@ public:
         m_deviceOriginX = m_deviceOriginY = 0;
 
         m_logicalScaleX = m_logicalScaleY =
-        m_userScaleX = m_userScaleY = 
+        m_userScaleX = m_userScaleY =
         m_scaleX = m_scaleY = 1.0;
 
         m_logicalFunction = -1;
@@ -181,6 +181,8 @@ public:
     void DrawRoundedRectangle(const wxRect& r, double radius)
         { DoDrawRoundedRectangle(r.x, r.y, r.width, r.height, radius); }
 
+    void DrawCircle(long x, long y, long radius)
+        { DoDrawEllipse(x - radius, y - radius, 2*radius, 2*radius); }
     void DrawEllipse(long x, long y, long width, long height)
         { DoDrawEllipse(x, y, width, height); }
     void DrawEllipse(const wxPoint& pt, const wxSize& sz)