X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34138703c3997ce676a1e713d9ff9eb020640da7..50c319beec2454b4f669b6c8cf3d089f53c979f6:/src/stubs/dc.cpp diff --git a/src/stubs/dc.cpp b/src/stubs/dc.cpp index 466c670c91..642dc1edc5 100644 --- a/src/stubs/dc.cpp +++ b/src/stubs/dc.cpp @@ -146,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; @@ -381,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); } };