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:
@@ -318,7 +318,12 @@ public:
|
|||||||
{ return m_nativeFontInfo; }
|
{ return m_nativeFontInfo; }
|
||||||
|
|
||||||
void SetNativeFontInfo(const wxNativeFontInfo& nativeFontInfo)
|
void SetNativeFontInfo(const wxNativeFontInfo& nativeFontInfo)
|
||||||
{ Free(); m_nativeFontInfo = nativeFontInfo; }
|
{
|
||||||
|
Free();
|
||||||
|
|
||||||
|
m_nativeFontInfo = nativeFontInfo;
|
||||||
|
m_nativeFontInfoOk = true;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
|
Reference in New Issue
Block a user