Lines Matching defs:hfont
1390 HFONT hfont = (HFONT)font.GetResourceHandle();
1392 if ( ::GetObject(hfont, sizeof(lf), &lf) == 0 )
1394 wxLogLastError(wxT("GetObject(hfont)"));
1402 hfont = ::CreateFontIndirect(&lf);
1403 if ( !hfont )
1409 HFONT hfontOld = (HFONT)::SelectObject(GetHdc(), hfont);
1414 (void)::DeleteObject(hfont);
1511 HGDIOBJ hfont = ::SelectObject(GetHdc(), GetHfontOf(font));
1512 if ( hfont == HGDI_ERROR )
1519 m_oldFont = (WXHFONT)hfont;