]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/font.cpp
wxDataViewCtrl::Expand() only works on items whose parents are already
[wxWidgets.git] / src / os2 / font.cpp
index d4be5633cb8fbf42ac9bf8b5b3f0f6dc7fd04784..eae1b4f8807f407ed6f1b8349724f1a9c52b0af3 100644 (file)
@@ -1082,12 +1082,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
 {