diff --git a/src/msw/font.cpp b/src/msw/font.cpp index a457798069..ffddf1c6a6 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -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