]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
New eventb based Drag interface for wxDataViewCtrl
[wxWidgets.git] / src / msw / font.cpp
index a0403335204fb037c61074cbf9fcb00e48078bf3..ed8728be509a700253436f4bbfbfd800f3a05f7d 100644 (file)
@@ -618,7 +618,7 @@ void wxNativeFontInfo::SetUnderlined(bool underlined)
 
 bool wxNativeFontInfo::SetFaceName(const wxString& facename)
 {
-    wxStrlcpy(lf.lfFaceName, facename, WXSIZEOF(lf.lfFaceName));
+    wxStrlcpy(lf.lfFaceName, facename.c_str(), WXSIZEOF(lf.lfFaceName));
     return true;
 }