fix setting the properties of a valid but unshared font object broken in the last commit (HFONT wasn't recreated)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-03-13 20:35:58 +00:00
parent 4215a4386e
commit adbd3cbc71
2 changed files with 31 additions and 29 deletions

View File

@@ -132,6 +132,9 @@ 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()