remove unneeded variable

svn: r2654
This commit is contained in:
Matthew Flatt 2006-04-10 20:56:18 +00:00
parent 3f0990c9d7
commit bf353e475e

View File

@ -2668,18 +2668,11 @@ Bool wxWindowDC::GlyphAvailable(int c, wxFont *font)
void wxWindowDC::SetFont(wxFont *font) void wxWindowDC::SetFont(wxFont *font)
{ {
XFontStruct *xfs;
if (!DRAWABLE) if (!DRAWABLE)
return; return;
if (!(current_font = font)) // nothing to do without a font if (!(current_font = font)) // nothing to do without a font
return; return;
#if 0
xfs =(XFontStruct*)font->GetInternalFont(scale_x, scale_y);
XSetFont(DPY, TEXT_GC, xfs->fid);
#endif
} }
void wxWindowDC::SetTextForeground(wxColour *col) void wxWindowDC::SetTextForeground(wxColour *col)