wxWindowDC now uses its window's font

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-07-15 18:13:21 +00:00
parent c980c99263
commit 3b245d601a
2 changed files with 2 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ wxWindowDC::wxWindowDC( wxWindow *window )
m_cmap = (GdkColormap *) NULL;
m_owner = (wxWindow *)NULL;
m_isMemDC = FALSE;
m_font = window->GetFont();
wxASSERT_MSG( window, _T("DC needs a window") );