X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff7b1510ea7f7855091df83d75a44415dc1cba18..9c039d08bfbb59c0abcbc705fb49f9b2cb321edf:/src/gtk1/dc.cpp diff --git a/src/gtk1/dc.cpp b/src/gtk1/dc.cpp index ff6f369904..0b621c2b79 100644 --- a/src/gtk1/dc.cpp +++ b/src/gtk1/dc.cpp @@ -83,6 +83,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) ) {