Unicode compilation fixes for BC++ 5
(BC++ 5 mostly doesn't cope with the wxString == char* operation) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -206,20 +206,20 @@ TAG_HANDLER_BEGIN(Hx, "H1,H2,H3,H4,H5,H6")
|
||||
m_WParser -> SetFontUnderlined(FALSE);
|
||||
m_WParser -> SetFontFixed(FALSE);
|
||||
|
||||
if (tag.GetName() == "H1")
|
||||
if (tag.GetName() == wxT("H1"))
|
||||
m_WParser -> SetFontSize(7);
|
||||
else if (tag.GetName() == "H2")
|
||||
else if (tag.GetName() == wxT("H2"))
|
||||
m_WParser -> SetFontSize(6);
|
||||
else if (tag.GetName() == "H3")
|
||||
else if (tag.GetName() == wxT("H3"))
|
||||
m_WParser -> SetFontSize(5);
|
||||
else if (tag.GetName() == "H4") {
|
||||
else if (tag.GetName() == wxT("H4")) {
|
||||
m_WParser -> SetFontSize(5);
|
||||
m_WParser -> SetFontItalic(TRUE);
|
||||
m_WParser -> SetFontBold(FALSE);
|
||||
}
|
||||
else if (tag.GetName() == "H5")
|
||||
else if (tag.GetName() == wxT("H5"))
|
||||
m_WParser -> SetFontSize(4);
|
||||
else if (tag.GetName() == "H6") {
|
||||
else if (tag.GetName() == wxT("H6")) {
|
||||
m_WParser -> SetFontSize(4);
|
||||
m_WParser -> SetFontItalic(TRUE);
|
||||
m_WParser -> SetFontBold(FALSE);
|
||||
|
Reference in New Issue
Block a user