]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/winpars.cpp
Stupid bug in GAddress initialization prevented BCC to work. (I still
[wxWidgets.git] / src / html / winpars.cpp
index 4e27d50788f47aa35482c64fae8866b64ee99d5f..c985d1aa443e57956cfacd226b0fbf06f07e6fd6 100644 (file)
@@ -34,7 +34,6 @@
 // wxHtmlWinParser
 //-----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxHtmlWinParser,wxHtmlParser)
 
 wxList wxHtmlWinParser::m_Modules;
 
@@ -80,7 +79,7 @@ void wxHtmlWinParser::AddModule(wxHtmlTagsModule *module)
 
 
 
-void wxHtmlWinParser::SetFonts(wxString normal_face, int normal_italic_mode, wxString fixed_face, int fixed_italic_mode, int *sizes)
+void wxHtmlWinParser::SetFonts(wxString normal_face, int normal_italic_mode, wxString fixed_face, int fixed_italic_mode, const int *sizes)
 {
     for (int i = 0; i < 7; i++) m_FontsSizes[i] = sizes[i];
     m_FontFaceFixed = fixed_face;
@@ -107,7 +106,7 @@ void wxHtmlWinParser::InitParser(const wxString& source)
     m_Link = "";
     m_LinkColor.Set(0, 0, 0xFF);
     m_ActualColor.Set(0, 0, 0);
-    m_Align = HTML_ALIGN_LEFT;
+    m_Align = wxHTML_ALIGN_LEFT;
     m_tmpLastWasSpace = FALSE;
 
     OpenContainer();
@@ -133,7 +132,7 @@ wxObject* wxHtmlWinParser::GetProduct()
 
     CloseContainer();
     OpenContainer();
-    GetContainer() -> SetIndent(m_CharHeight, HTML_INDENT_TOP);
+    GetContainer() -> SetIndent(m_CharHeight, wxHTML_INDENT_TOP);
     top = m_Container;
     while (top -> GetParent()) top = top -> GetParent();
     return top;
@@ -167,7 +166,7 @@ void wxHtmlWinParser::AddText(const char* txt)
 {
     wxHtmlCell *c;
     int i = 0, x, lng = strlen(txt);
-    char temp[HTML_BUFLEN];
+    char temp[wxHTML_BUFLEN];
     register char d;
     int templen = 0;