//-----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxGraphicsPath, wxObject)
+
wxPoint2DDouble wxGraphicsPath::GetCurrentPoint()
{
wxDouble x,y;
// wxGraphicsContext Convenience Methods
//-----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxGraphicsContext, wxObject)
+
void wxGraphicsContext::DrawPath( const wxGraphicsPath *path, int fillStyle )
{
FillPath( path , fillStyle );
wxCoord wwdest = LogicalToDeviceXRel(width);
wxCoord hhdest = LogicalToDeviceYRel(height);
- wxMemoryDC* memdc = dynamic_cast<wxMemoryDC*>(source);
+ wxMemoryDC* memdc = wxDynamicCast(source,wxMemoryDC);
if ( memdc && logical_func == wxCOPY )
{
wxBitmap blit = memdc->GetSelectedBitmap();