]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_pre.cpp
filter out bundles/packages when showing the open file dialog (patch 1675784)
[wxWidgets.git] / src / html / m_pre.cpp
index 675d916321d83829df17a55e1acd3193f3b0ae8b..acf9998d213f1000c60eab208c05637c3e40add3 100644 (file)
@@ -35,7 +35,7 @@ static wxString LINKAGEMODE HtmlizeWhitespaces(const wxString& str)
     size_t linepos = 0;
     for (size_t i = 0; i < len; i++)
     {
-        switch (str[i])
+        switch ( str[i].GetValue() )
         {
             case wxT('<'):
                 while (i < len && str[i] != wxT('>'))