]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/font.cpp
remove always-true test of unsigned >= 0
[wxWidgets.git] / src / os2 / font.cpp
index d4be5633cb8fbf42ac9bf8b5b3f0f6dc7fd04784..8d046f78b9ed68a3ced222604bd0f6a4e662b809 100644 (file)
@@ -40,8 +40,6 @@
 
 #include <malloc.h>
 
-IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
-
 // ----------------------------------------------------------------------------
 // wxFontRefData - the internal description of the font
 // ----------------------------------------------------------------------------
@@ -1082,12 +1080,10 @@ int wxFont::GetPointSize() const
     return M_FONTDATA->GetPointSize();
 } // end of wxFont::GetPointSize
 
-wxFontFamily wxFont::GetFamily() const
+wxFontFamily wxFont::DoGetFamily() const
 {
-    wxCHECK_MSG( Ok(), wxFONTFAMILY_MAX, wxT("invalid font") );
-
     return M_FONTDATA->GetFamily();
-} // end of wxFont::GetFamily
+} // end of wxFont::DoGetFamily
 
 wxFontStyle wxFont::GetStyle() const
 {