X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd49ac33b3b8f9643344b427e6071e5087706cdc..46405e36bf9962b251e77e5048e96bf6a54edb15:/src/msw/font.cpp?ds=sidebyside 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(); }