void wxQtDCImpl::SetFont(const wxFont& font) { m_font = font; if (m_qtPainter->isActive()) m_qtPainter->setFont(font.GetHandle()); }
bool wxWindowQt::SetFont( const wxFont &font ) { // SetFont may be called before Create, so the font is stored // by the base class, and set in PostCreation if (GetHandle()) { GetHandle()->setFont( font.GetHandle() ); return true; } return wxWindowBase::SetFont(font); }
bool wxWindowQt::SetFont( const wxFont &font ) { GetHandle()->setFont( font.GetHandle() ); return ( true ); }