From: Julian Smart Date: Sun, 21 Sep 2003 00:58:27 +0000 (+0000) Subject: Don't assert when Clear() is called, better to ignore it X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f632aa1e0589e01a7fe974982510a78efcf10f47 Don't assert when Clear() is called, better to ignore it git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index e68207dc2e..9202e61e12 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -386,7 +386,9 @@ void wxPostScriptDC::DestroyClippingRegion() void wxPostScriptDC::Clear() { - wxFAIL_MSG( wxT("wxPostScriptDC::Clear not implemented.") ); + // This should fail silently to avoid unnecessary + // asserts + // wxFAIL_MSG( wxT("wxPostScriptDC::Clear not implemented.") ); } bool wxPostScriptDC::DoFloodFill (wxCoord WXUNUSED(x), wxCoord WXUNUSED(y), const wxColour &WXUNUSED(col), int WXUNUSED(style))