don't translate wxASSERT_MSG messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
771779ed91
commit
0e8c82331d
@ -130,14 +130,14 @@ void wxHtmlWinParser::SetFonts(wxString normal_face, wxString fixed_face, const
|
|||||||
void wxHtmlWinParser::InitParser(const wxString& source)
|
void wxHtmlWinParser::InitParser(const wxString& source)
|
||||||
{
|
{
|
||||||
wxHtmlParser::InitParser(source);
|
wxHtmlParser::InitParser(source);
|
||||||
wxASSERT_MSG(m_DC != NULL, _("no DC assigned to wxHtmlWinParser!!"));
|
wxASSERT_MSG(m_DC != NULL, _T("no DC assigned to wxHtmlWinParser!!"));
|
||||||
|
|
||||||
m_FontBold = m_FontItalic = m_FontUnderlined = m_FontFixed = FALSE;
|
m_FontBold = m_FontItalic = m_FontUnderlined = m_FontFixed = FALSE;
|
||||||
m_FontSize = 3; //default one
|
m_FontSize = 3; //default one
|
||||||
CreateCurrentFont(); // we're selecting default font into
|
CreateCurrentFont(); // we're selecting default font into
|
||||||
m_DC -> GetTextExtent("H", &m_CharWidth, &m_CharHeight);
|
m_DC -> GetTextExtent("H", &m_CharWidth, &m_CharHeight);
|
||||||
/* NOTE : we're not using GetCharWidth/Height() because
|
/* NOTE : we're not using GetCharWidth/Height() because
|
||||||
of differences under X and win
|
of differences under X and win
|
||||||
*/
|
*/
|
||||||
|
|
||||||
m_UseLink = FALSE;
|
m_UseLink = FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user