html filters has const methods now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,7 +52,7 @@ IMPLEMENT_CLASS(wxHelpControllerHtml, wxHTMLHelpControllerBase)
|
||||
class wxForceHtmlFilter : public wxHtmlFilter
|
||||
{
|
||||
public:
|
||||
virtual wxString ReadFile(const wxFSFile& file)
|
||||
virtual wxString ReadFile(const wxFSFile& file) const
|
||||
{
|
||||
wxInputStream *s = file.GetStream();
|
||||
char *src;
|
||||
@@ -67,7 +67,7 @@ public:
|
||||
return doc;
|
||||
}
|
||||
|
||||
virtual bool CanRead(const wxFSFile& file)
|
||||
virtual bool CanRead(const wxFSFile& file) const
|
||||
{
|
||||
wxString filename = file.GetLocation();
|
||||
if(filename.Length() >= 5 &&
|
||||
|
||||
Reference in New Issue
Block a user