X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/574c939ef1c1b835a8bc65c0fe724548fa04ec49..4b37e99afcedd67292c24e93677a83b76dc6b625:/include/wx/dc.h 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: