]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/font.cpp
Added clipboard cut and paste
[wxWidgets.git] / src / os2 / font.cpp
index 5f42a49ab85a6857f5b591553089d7ac67f46ad6..d33d991d89a827520a65ab64a66223b235e5eeaa 100644 (file)
@@ -370,7 +370,7 @@ bool wxFont::RealizeResource()
         vError = ::WinGetLastError(vHabmain);
     }
 
-    strcpy(zFacename, M_FONTDATA->m_vFattrs.szFacename);
+    M_FONTDATA->m_sFaceName = zFacename;
 
     if(::GpiCreateLogFont( M_FONTDATA->m_hPS
                           ,NULL