X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff7b1510ea7f7855091df83d75a44415dc1cba18..b926666447f1ceef18873cdd80966402a3ece222:/src/gtk1/dc.cpp?ds=sidebyside diff --git a/src/gtk1/dc.cpp b/src/gtk1/dc.cpp index ff6f369904..a519e5fd40 100644 --- a/src/gtk1/dc.cpp +++ b/src/gtk1/dc.cpp @@ -2,9 +2,8 @@ // Name: dc.cpp // Purpose: // Author: Robert Roebling -// Created: 01/02/97 // RCS-ID: $Id$ -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Copyright: (c) 1998 Robert Roebling, Markus Holzem // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -83,6 +82,12 @@ wxDC::~wxDC(void) { } +bool wxDC::Ok(void) const +{ + wxASSERT_MSG( m_ok, "invalid display context" ); + return m_ok; +} + void wxDC::DrawArc( long WXUNUSED(x1), long WXUNUSED(y1), long WXUNUSED(x2), long WXUNUSED(y2), double WXUNUSED(xc), double WXUNUSED(yc) ) { @@ -145,11 +150,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;