removed unneccesary (and unwanted) asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9732ef1cb8
commit
11207aa4c2
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user