allocate HFONT on demand instead of doing every time a font property is modified

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-13 21:59:55 +00:00
parent adbd3cbc71
commit 8e34db1d94
2 changed files with 51 additions and 50 deletions

View File

@@ -132,9 +132,6 @@ protected:
const wxString& face = wxEmptyString,
wxFontEncoding encoding = wxFONTENCODING_DEFAULT);
// this is the same as FreeResource() followed by RealizeResource()
bool Recreate();
virtual void DoSetNativeFontInfo(const wxNativeFontInfo& info);
// implement wxObject virtuals which are used by AllocExclusive()