X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33caefb37762ff21b139ef943d1b614dc3b237db..c15d098cdffb0eae6a5d1b92a1a9655ed428f486:/src/motif/dcclient.cpp diff --git a/src/motif/dcclient.cpp b/src/motif/dcclient.cpp index 1d4cca6560..bda0770424 100644 --- a/src/motif/dcclient.cpp +++ b/src/motif/dcclient.cpp @@ -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;