]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
added missing consts and pass objects by const reference instead of by value (patch...
[wxWidgets.git] / src / html / htmlwin.cpp
index 31b9f952ca06847b896c361dc51c8ec6ba58f810..a1f8c33629daf9988083309acd2d0c81af8759e1 100644 (file)
@@ -235,7 +235,7 @@ void wxHtmlWindow::SetRelatedStatusBar(int bar)
 
 
 
-void wxHtmlWindow::SetFonts(wxString normal_face, wxString fixed_face, const int *sizes)
+void wxHtmlWindow::SetFonts(const wxString& normal_face, const wxString& fixed_face, const int *sizes)
 {
     wxString op = m_OpenedPage;