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:
@@ -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") );
|
||||
|
||||
|
Reference in New Issue
Block a user