- return M_FONTDATA && (M_FONTDATA->GetHFONT() == 0);
-}
-
-bool wxFont::Recreate()
-{
- // this function can be used to recreate the font after its wxFontRefData
- // changes and does it unconditionally, i.e. even if already had a valid
- // font before
- wxCHECK_MSG( M_FONTDATA, false, _T("no font to recreate") );
-
- M_FONTDATA->Free();
- return M_FONTDATA->Alloc(this);