X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/33caefb37762ff21b139ef943d1b614dc3b237db..10434f3c24ae2faf228b6b6c6b6cb6de0c26213d:/src/motif/dcclient.cpp diff --git a/src/motif/dcclient.cpp b/src/motif/dcclient.cpp index 1d4cca6560..b7d6e721ee 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; @@ -2193,7 +2194,7 @@ static void wx_spline_draw_point_array(wxDC *dc) void wxWindowDC::DoDrawSpline( wxList *points ) { - wxCHECK_RET( Ok(), _T("invalid window dc") ); + wxCHECK_RET( Ok(), T("invalid window dc") ); wxPoint *p; double cx1, cy1, cx2, cy2, cx3, cy3, cx4, cy4;