fix bug introduced in wxFontRefData::SetNativeFontInfo() in 1.89: remember that we do have native font info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7549148b56
commit
9cc79dd629
@ -318,7 +318,12 @@ public:
|
||||
{ return m_nativeFontInfo; }
|
||||
|
||||
void SetNativeFontInfo(const wxNativeFontInfo& nativeFontInfo)
|
||||
{ Free(); m_nativeFontInfo = nativeFontInfo; }
|
||||
{
|
||||
Free();
|
||||
|
||||
m_nativeFontInfo = nativeFontInfo;
|
||||
m_nativeFontInfoOk = true;
|
||||
}
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
|
Loading…
Reference in New Issue
Block a user