X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/574c939ef1c1b835a8bc65c0fe724548fa04ec49..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/include/wx/dc.h?ds=inline diff --git a/include/wx/dc.h b/include/wx/dc.h index b13bc4bcb7..8366a5c479 100644 --- a/include/wx/dc.h +++ b/include/wx/dc.h @@ -226,6 +226,9 @@ public: void DrawCircle(wxCoord x, wxCoord y, wxCoord radius) { DoDrawEllipse(x - radius, y - radius, 2*radius, 2*radius); } + void DrawCircle(const wxPoint& pt, wxCoord radius) + { DrawCircle(pt.x, pt.y, radius); } + void DrawEllipse(wxCoord x, wxCoord y, wxCoord width, wxCoord height) { DoDrawEllipse(x, y, width, height); } void DrawEllipse(const wxPoint& pt, const wxSize& sz) @@ -740,7 +743,7 @@ protected: #if wxUSE_PALETTE wxPalette m_palette; - bool m_custompalette; + bool m_hasCustomPalette; #endif // wxUSE_PALETTE private: