X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5af11a9413cd158fdb0eae77c5a387fdd4e92c95..76ea1664980282b58c01a5c3a833839a6c0d1bf9:/src/html/htmlpars.cpp diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index ae752eafba..2bfef86812 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -35,6 +35,9 @@ #include "wx/dynarray.h" #include "wx/arrimpl.cpp" +#ifdef __WXWINCE__ + #include "wx/msw/wince/missing.h" // for bsearch() +#endif // DLL options compatibility check: #include "wx/app.h" @@ -853,7 +856,8 @@ wxChar wxHtmlEntitiesParser::GetEntityChar(const wxString& entity) wxFSFile *wxHtmlParser::OpenURL(wxHtmlURLType WXUNUSED(type), const wxString& url) const { - return GetFS()->OpenFile(url); + return m_FS ? m_FS->OpenFile(url) : NULL; + }