]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_layout.cpp
Bug fix in GetLabelFromText
[wxWidgets.git] / src / html / m_layout.cpp
index af040afe9514901e20b478479533e23a0bfd91d2..df2615cf1db4eba008200052c3ce98c0dbcfca66 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        mod_layout.cpp
+// Name:        m_layout.cpp
 // Purpose:     wxHtml module for basic paragraphs/layout handling
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
@@ -29,7 +29,7 @@
 
 #include "wx/html/htmlwin.h"
 
-FORCE_LINK_ME(mod_layout)
+FORCE_LINK_ME(m_layout)
 
 
 TAG_HANDLER_BEGIN(P, "P")
@@ -150,7 +150,7 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE")
                 wxString *src = m_WParser -> GetSource();
 
                 for (int i = tag.GetBeginPos(); i < tag.GetEndPos1(); i++) title += (*src)[(unsigned int) i];
-                wfr -> SetTitle(title);
+                wfr -> OnSetTitle(title);
             }
         }
         return TRUE;