From: Ron Lee Date: Sun, 24 Sep 2000 15:25:57 +0000 (+0000) Subject: removed unneccesary (and unwanted) asserts X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/11207aa4c2d81eacba2e92ddc2b4812f97ec674d removed unneccesary (and unwanted) asserts git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index 0ebc9c925a..9239f644b7 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -1875,8 +1875,6 @@ void wxPostScriptDC::DoGetTextExtent(const wxString& string, if (!fontToUse) fontToUse = (wxFont*) &m_font; wxCHECK_RET( fontToUse, wxT("GetTextExtent: no font defined") ); - wxCHECK_RET( x, wxT("GetTextExtent: x == NULL") ); - wxCHECK_RET( y, wxT("GetTextExtent: y == NULL") ); const wxWX2MBbuf strbuf = string.mb_str();