X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9f7896861f734ce044ee8601ba2d8a6959c9d9e..f74a73b36509260f612770de2caeb084f1857e08:/src/msw/font.cpp 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