X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd49ac33b3b8f9643344b427e6071e5087706cdc..f0ccd2cbfa0b4ac110b81626da5a184b650b1080:/src/msw/font.cpp diff --git a/src/msw/font.cpp b/src/msw/font.cpp index b1e347d674..0acbf1aae6 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -1016,10 +1016,8 @@ bool wxFont::IsUsingSizeInPixels() const return M_FONTDATA->IsUsingSizeInPixels(); } -wxFontFamily wxFont::GetFamily() const +wxFontFamily wxFont::DoGetFamily() const { - wxCHECK_MSG( IsOk(), wxFONTFAMILY_MAX, wxT("invalid font") ); - return M_FONTDATA->GetFamily(); }