X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ba80ec7ff939780e7103d0beee429db9ddb4430..622e48cbd2b024ca6c36fdd90cc075950ccf53af:/src/generic/helpwxht.cpp diff --git a/src/generic/helpwxht.cpp b/src/generic/helpwxht.cpp index 66e90901e2..336273ba87 100644 --- a/src/generic/helpwxht.cpp +++ b/src/generic/helpwxht.cpp @@ -27,6 +27,7 @@ # include "wx/list.h" # include "wx/intl.h" # include "wx/layout.h" +# include "wx/combobox.h" #endif #include "wx/helpbase.h" @@ -52,7 +53,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 +68,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 && @@ -294,9 +295,9 @@ wxHelpControllerHtml::SetFrameParameters(const wxString &title, } wxFrame * -wxHelpControllerHtml::GetFrameParameters(wxSize *size = NULL, - wxPoint *pos = NULL, - bool *newframe = NULL) +wxHelpControllerHtml::GetFrameParameters(wxSize *size, + wxPoint *pos, + bool *newframe) { if(size) *size = m_FrameSize; if(pos) *pos = m_FramePosition;