From f632aa1e0589e01a7fe974982510a78efcf10f47 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 21 Sep 2003 00:58:27 +0000 Subject: [PATCH] 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 --- src/generic/dcpsg.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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))