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:
Karsten Ballüder
1998-09-20 19:34:30 +00:00
parent e79848acfe
commit a4876ea44c
5 changed files with 302 additions and 207 deletions

View File

@@ -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)
{