Fix harmless virtual function hiding warning in wxMSW build.
Override the other StrokeLines() overload in wxGDIPlusContext just to avoid the warning about hiding a base class virtual method from MinGW compiler. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ecad27577f
commit
d965bcda31
@ -381,6 +381,13 @@ public:
|
||||
// stroke lines connecting each of the points
|
||||
virtual void StrokeLines( size_t n, const wxPoint2DDouble *points);
|
||||
|
||||
// We don't have any specific implementation for this one in wxMSW but
|
||||
// override it just to avoid warnings about hiding the base class virtual.
|
||||
virtual void StrokeLines( size_t n, const wxPoint2DDouble *beginPoints, const wxPoint2DDouble *endPoints)
|
||||
{
|
||||
wxGraphicsContext::StrokeLines(n, beginPoints, endPoints);
|
||||
}
|
||||
|
||||
// draws a polygon
|
||||
virtual void DrawLines( size_t n, const wxPoint2DDouble *points, wxPolygonFillMode fillStyle = wxODDEVEN_RULE );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user