From 3f0990c9d7a7fa15662b73480a43a6f23045f24f Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 10 Apr 2006 20:53:29 +0000 Subject: [PATCH] no need to set X font in WindowDC::SetFont svn: r2653 --- src/wxxt/src/DeviceContexts/WindowDC.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wxxt/src/DeviceContexts/WindowDC.cc b/src/wxxt/src/DeviceContexts/WindowDC.cc index e685e042e8..f64e7b85ed 100644 --- a/src/wxxt/src/DeviceContexts/WindowDC.cc +++ b/src/wxxt/src/DeviceContexts/WindowDC.cc @@ -2676,8 +2676,10 @@ void wxWindowDC::SetFont(wxFont *font) if (!(current_font = font)) // nothing to do without a font return; +#if 0 xfs =(XFontStruct*)font->GetInternalFont(scale_x, scale_y); XSetFont(DPY, TEXT_GC, xfs->fid); +#endif } void wxWindowDC::SetTextForeground(wxColour *col)