X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..065fa73213c49c01489cf6c44f788c7486cf4f8d:/include/wx/html/htmlwin.h diff --git a/include/wx/html/htmlwin.h b/include/wx/html/htmlwin.h index 9d961b27d8..807960b7ed 100644 --- a/include/wx/html/htmlwin.h +++ b/include/wx/html/htmlwin.h @@ -85,7 +85,7 @@ public: // it is NOT address/filename of HTML document. If you want to // specify document location, use LoadPage() istead // Return value : false if an error occurred, true otherwise - bool SetPage(const wxString& source); + virtual bool SetPage(const wxString& source); // Append to current page bool AppendToPage(const wxString& source); @@ -123,7 +123,7 @@ public: #endif // wxUSE_STATUSBAR // Sets fonts to be used when displaying HTML page. - void SetFonts(wxString normal_face, wxString fixed_face, + void SetFonts(const wxString& normal_face, const wxString& fixed_face, const int *sizes = NULL); // Sets font sizes to be relative to the given size or the system