Bitmap updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-04-18 05:12:36 +00:00
parent d7fa7eaa2d
commit c354beeafa
3 changed files with 134 additions and 79 deletions

View File

@@ -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(