]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fontutil.h
fixed wxComboBox::Clear to clear stored value
[wxWidgets.git] / include / wx / fontutil.h
index becafbc25ef376921a83ded256fb128d99243424..d2491dcbc534c154f8cd20bb8d7c1910385355f9 100644 (file)
@@ -195,7 +195,7 @@ public:
     void SetStyle(wxFontStyle style);
     void SetWeight(wxFontWeight weight);
     void SetUnderlined(bool underlined);
     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);
 
     void SetFamily(wxFontFamily family);
     void SetEncoding(wxFontEncoding encoding);