]> git.saurik.com Git - wxWidgets.git/commitdiff
wxWindowDC now uses its window's font
authorRobert Roebling <robert@roebling.de>
Thu, 15 Jul 1999 18:13:21 +0000 (18:13 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 15 Jul 1999 18:13:21 +0000 (18:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dcclient.cpp
src/gtk1/dcclient.cpp

index 649070a9158a46b50ce35c445021f50d671d6fd8..eadd93d70cf5d2d7fbaff768e1b5077f145c3ed8 100644 (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") );
     
index 649070a9158a46b50ce35c445021f50d671d6fd8..eadd93d70cf5d2d7fbaff768e1b5077f145c3ed8 100644 (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") );