remove unneeded variable
svn: r2654
This commit is contained in:
parent
3f0990c9d7
commit
bf353e475e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user