X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc95f4f9477e96ac2ce9a18f410ef98a169a75a6..53fd991c445a07562b8d7e9ecaf9fc599c19dd4f:/src/os2/font.cpp diff --git a/src/os2/font.cpp b/src/os2/font.cpp index 6c4c32653c..623f7fd444 100644 --- a/src/os2/font.cpp +++ b/src/os2/font.cpp @@ -1085,3 +1085,14 @@ void wxFont::SetFM( } // end of wxFont::SetFM +void wxFont::SetPS( + HPS hPS +) +{ + Unshare(); + + M_FONTDATA->SetPS(hPS); + + RealizeResource(); +} // end of wxFont::SetUnderlined +