]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
fix PCH-less compilation
[wxWidgets.git] / src / msw / font.cpp
index a457798069b59bb2ed13191f4e00ab7676b81914..ffddf1c6a6f579e26e78133d9bc2c1a5acd784c8 100644 (file)
@@ -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