X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ba80ec7ff939780e7103d0beee429db9ddb4430..aa8fb7a0164e989e09d2b78867633399a740f1d3:/src/generic/helpwxht.cpp diff --git a/src/generic/helpwxht.cpp b/src/generic/helpwxht.cpp index 66e90901e2..1fdb91028c 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" @@ -35,7 +36,9 @@ #include #include +#ifndef __MWERKS__ #include +#endif #ifndef __WINDOWS__ # include @@ -52,7 +55,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 +70,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 +297,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;