]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
another fix for the default button in the dialog
[wxWidgets.git] / src / msw / font.cpp
index bac473af42d39b8c8106a09adc1dbdffab09b572..5fa73ec64464ffdbd3275beebe904e496776abf1 100644 (file)
@@ -262,7 +262,7 @@ public:
         if ( m_nativeFontInfoOk )
             return m_nativeFontInfo.SetFaceName(faceName);
 
-            m_faceName = faceName;
+        m_faceName = faceName;
         return true;
     }
 
@@ -321,6 +321,8 @@ protected:
     bool             m_nativeFontInfoOk;
 };
 
+#define M_FONTDATA ((wxFontRefData*)m_refData)
+
 // ============================================================================
 // implementation
 // ============================================================================