X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..5996fb421dc956768bc9a0031051f4c890f6ffa1:/include/wx/fontutil.h diff --git a/include/wx/fontutil.h b/include/wx/fontutil.h index becafbc25e..d2491dcbc5 100644 --- a/include/wx/fontutil.h +++ b/include/wx/fontutil.h @@ -195,7 +195,7 @@ public: void SetStyle(wxFontStyle style); void SetWeight(wxFontWeight weight); void SetUnderlined(bool underlined); - void SetFaceName(wxString facename); + void SetFaceName(const wxString& facename); void SetFamily(wxFontFamily family); void SetEncoding(wxFontEncoding encoding);