]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dcclient.cpp
1. fixed Maximise() mismatch between wxFrame and wxMDIFrame
[wxWidgets.git] / 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") );