]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_pre.cpp
FreeBSD compilation fix
[wxWidgets.git] / src / html / m_pre.cpp
index a474a1ec385af0b07b05f00ce3d70bd810cf816b..f87983853ada3af0d784f7ff50efc79d371ef491 100644 (file)
 #endif
 
 #ifndef WXPRECOMP
-#include "wx/wx.h"
 #endif
 
-
 #include "wx/html/forcelnk.h"
 #include "wx/html/m_templ.h"
 
@@ -65,7 +63,7 @@ TAG_HANDLER_BEGIN(PRE, "PRE")
         wxString src, srcMid;
 
         src = *m_WParser->GetSource();
-        srcMid = src.Mid(tag.GetBeginPos(), 
+        srcMid = src.Mid(tag.GetBeginPos(),
                          tag.GetEndPos1() - tag.GetBeginPos());
         srcMid.Replace(wxT("\t"), wxT("        "));
         srcMid.Replace(wxT(" "), wxT(" "));
@@ -76,7 +74,7 @@ TAG_HANDLER_BEGIN(PRE, "PRE")
         m_Parser->SetSource(srcMid);
         m_Parser->DoParsing();
         m_Parser->SetSource(src);
-        
+
         m_WParser->CloseContainer();
         c = m_WParser->OpenContainer();