X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77f15ffe92a859f4b82cc90ec142614b5c3a22da..f1f5f16f780bb41aa2ea24ccbf728f14c86cc475:/src/common/fontcmn.cpp?ds=sidebyside diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index f83bb4701f..236f10b00d 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -324,7 +324,7 @@ bool wxFontBase::operator==(const wxFont& font) const { // either it is the same font, i.e. they share the same common data or they // have different ref datas but still describe the same font - return GetFontData() == font.GetFontData() || + return IsSameAs(font) || ( Ok() == font.Ok() && GetPointSize() == font.GetPointSize() &&