wxDC::SetFont

void SetFont(wxFont *font)

Sets the current font for the DC. The font is not copied, so you should not delete the font unless the DC pen has been set to another font, or to NULL.

See also wxFont.