]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't assert when Clear() is called, better to ignore it
authorJulian Smart <julian@anthemion.co.uk>
Sun, 21 Sep 2003 00:58:27 +0000 (00:58 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 21 Sep 2003 00:58:27 +0000 (00:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dcpsg.cpp

index e68207dc2e2c5eefdf268587eb054113678efb14..9202e61e128798db7360fc155ad5d76a10426da9 100644 (file)
@@ -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))