X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5e6ed7cc841789a94d37965a8e5c1cc61abb87c..e1146627e2bf16a48554e1c224f427dbd6247c5d:/include/wx/html/htmlpars.h diff --git a/include/wx/html/htmlpars.h b/include/wx/html/htmlpars.h index 7d1205ae61..0faf78d4dd 100644 --- a/include/wx/html/htmlpars.h +++ b/include/wx/html/htmlpars.h @@ -48,6 +48,10 @@ public: wxFileSystem* GetFS() const { return m_FS; } + // Returns TRUE if the parser is allowed to open given URL (may be forbidden + // for security reasons) + virtual bool CanOpenURL(const wxString& url) const { return TRUE; } + // You can simply call this method when you need parsed output. // This method does these things: // 1. call InitParser(source);