]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontcmn.cpp
reverted the fix for Unicode compilation with VC++ as it breaks other ports (and...
[wxWidgets.git] / src / common / fontcmn.cpp
index d785a3339ad42eb8a98db329de51fd35bb0b3db1..1a8b50c376d30baa812e624dec511c5efa8880f4 100644 (file)
@@ -105,7 +105,7 @@ void wxFontBase::SetNativeFontInfo(const wxNativeFontInfo& info)
     SetFaceName(info.faceName);
     SetEncoding(info.encoding);
 #else
-       (void)info;     
+    (void)info;
 #endif
 }
 
@@ -140,6 +140,7 @@ bool wxFontBase::operator==(const wxFont& font) const
             GetPointSize() == font.GetPointSize() &&
             GetFamily() == font.GetFamily() &&
             GetStyle() == font.GetStyle() &&
+            GetWeight() == font.GetWeight() &&
             GetUnderlined() == font.GetUnderlined() &&
             GetFaceName() == font.GetFaceName() &&
             GetEncoding() == font.GetEncoding()