X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/938aa9c4618c9ed67fa791063681875106d3ef35..2d956b58023a4955313a1c1531bc70a0deb0b831:/src/os2/dcclient.cpp diff --git a/src/os2/dcclient.cpp b/src/os2/dcclient.cpp index eef2ccd489..4bb99210df 100644 --- a/src/os2/dcclient.cpp +++ b/src/os2/dcclient.cpp @@ -160,6 +160,18 @@ void wxWindowDC::InitDC() vColor.Set("WHITE"); m_brush.SetColour(vColor); InitializePalette(); + wxFont* pFont = new wxFont( 12 + ,wxNORMAL + ,wxNORMAL + ,wxBOLD + ); + SetFont(*pFont); + delete pFont; + // + // OS/2 default vertical character allignment needs to match the other OS's + // + ::GpiSetTextAlignment((HPS)GetHPS(), TA_NORMAL_HORIZ, TA_BOTTOM); + } // end of wxWindowDC::InitDC void wxWindowDC::DoGetSize(