Remove C++ dynamic cast for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b687dd2fc1
commit
1ed4f1a747
@ -335,7 +335,7 @@ void wxCairoContext::StrokePath( const wxGraphicsPath *p )
|
|||||||
if ( m_penTransparent )
|
if ( m_penTransparent )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const wxCairoPath* path = dynamic_cast< const wxCairoPath*>( p );
|
const wxCairoPath* path = (const wxCairoPath *) p;
|
||||||
cairo_path_t* cp = path->GetPath() ;
|
cairo_path_t* cp = path->GetPath() ;
|
||||||
cairo_append_path(m_context,cp);
|
cairo_append_path(m_context,cp);
|
||||||
|
|
||||||
@ -524,7 +524,7 @@ void wxCairoContext::FillPath( const wxGraphicsPath *p , int fillStyle )
|
|||||||
{
|
{
|
||||||
if ( !m_brushTransparent )
|
if ( !m_brushTransparent )
|
||||||
{
|
{
|
||||||
const wxCairoPath* path = dynamic_cast< const wxCairoPath*>( p );
|
const wxCairoPath* path = (const wxCairoPath *) p;
|
||||||
cairo_path_t* cp = path->GetPath() ;
|
cairo_path_t* cp = path->GetPath() ;
|
||||||
cairo_append_path(m_context,cp);
|
cairo_append_path(m_context,cp);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user