X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93cf77c076b699e8e0b3b0049bd4f80de15997dd..cfad3750c3ecc821ffae8b9b3de852551270846d:/src/stubs/dc.cpp diff --git a/src/stubs/dc.cpp b/src/stubs/dc.cpp index 4cfe7305cc..642dc1edc5 100644 --- a/src/stubs/dc.cpp +++ b/src/stubs/dc.cpp @@ -34,8 +34,6 @@ IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject) // wxDC //----------------------------------------------------------------------------- -IMPLEMENT_ABSTRACT_CLASS(wxDC,wxObject) - wxDC::wxDC(void) { m_ok = FALSE; @@ -148,11 +146,6 @@ void wxDC::DrawSpline( long x1, long y1, long x2, long y2, long x3, long y3 ) }; }; -void wxDC::DrawSpline( wxList *points ) -{ - DrawOpenSpline( points ); -}; - void wxDC::DrawSpline( int n, wxPoint points[] ) { wxList list; @@ -383,10 +376,10 @@ void wxDC::ComputeScaleAndOrigin(void) { // this is a bit artificial, but we need to force wxDC to think // the pen has changed - wxPen* pen = GetPen(); + wxPen* pen = & GetPen(); wxPen tempPen; m_pen = tempPen; - SetPen(pen); + SetPen(* pen); } };