see mail to list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -137,7 +137,9 @@ void wxPaintDC::DrawLine( long x1, long y1, long x2, long y2 )
|
||||
{
|
||||
if (!Ok()) return;
|
||||
|
||||
if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage();
|
||||
// FIXME: is this right? Causes a segfault on my system and doesn't
|
||||
// seem right: wxPaintDC does not inherit from wxMemoryDC
|
||||
// if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage();
|
||||
|
||||
if (m_pen.GetStyle() != wxTRANSPARENT)
|
||||
{
|
||||
@@ -150,7 +152,9 @@ void wxPaintDC::CrossHair( long x, long y )
|
||||
{
|
||||
if (!Ok()) return;
|
||||
|
||||
if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage();
|
||||
// FIXME: is this right? Causes a segfault on my system and doesn't
|
||||
// seem right: wxPaintDC does not inherit from wxMemoryDC
|
||||
// if (!m_isDrawable) ((wxMemoryDC*)this)->m_selected.DestroyImage();
|
||||
|
||||
if (m_pen.GetStyle() != wxTRANSPARENT)
|
||||
{
|
||||
|
Reference in New Issue
Block a user