]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcclient.cpp
Fixed some compile errors (MSVC++ 6) and some very strange link errors when
[wxWidgets.git] / src / motif / dcclient.cpp
index 1d4cca656062ef8003b021c7134d04ccdb1c57ff..bda0770424270cf3170a99f478689707a1b331a6 100644 (file)
@@ -127,6 +127,7 @@ wxWindowDC::wxWindowDC( wxWindow *window )
     wxASSERT_MSG( (window != (wxWindow*) NULL), "You must pass a valid wxWindow to wxWindowDC/wxClientDC/wxPaintDC constructor." );
 
     m_window = window;
+    m_font = window->GetFont();
     m_gc = (WXGC) 0;
     m_gcBacking = (WXGC) 0;
     m_backgroundPixel = -1;