]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_layout.cpp
added missing include files for compilation with Apple Developer Tools
[wxWidgets.git] / src / html / m_layout.cpp
index 67e16e89522f50ee9c5b6e712a2bf893f8d4deff..ee1e782205c6c00608f6664021ca8084d5d50f22 100644 (file)
@@ -295,9 +295,11 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE")
             wxHtmlWindow *wfr = (wxHtmlWindow*)(m_WParser->GetWindow());
             if (wfr)
             {
-                const wxString& src = *m_WParser->GetSource();
-                wfr->OnSetTitle(src.Mid(tag.GetBeginPos(), 
-                                        tag.GetEndPos1()-tag.GetBeginPos()));
+                wxString title = m_WParser->GetSource()->Mid(
+                                        tag.GetBeginPos(), 
+                                        tag.GetEndPos1()-tag.GetBeginPos());
+                title = m_WParser->GetEntitiesParser()->Parse(title);
+                wfr->OnSetTitle(title);
             }
         }
         return TRUE;