]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/html/htmlwin.h
added missing consts and pass objects by const reference instead of by value (patch...
[wxWidgets.git] / include / wx / html / htmlwin.h
index 9d961b27d8b8f393e4dc3b28b44668bb92b804fe..57cc3f500b35ddf9468fc5ad0335a7dc9da8d082 100644 (file)
@@ -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