]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/helpwxht.cpp
#if => #if defined()
[wxWidgets.git] / src / generic / helpwxht.cpp
index 66e90901e2311788d672bb6c0ad20480b5c24f3e..336273ba87a41b305903f88daf91842e3ca1028b 100644 (file)
@@ -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;