]> git.saurik.com Git - wxWidgets.git/blobdiff - src/dfb/font.cpp
Don't enter an infinite loop if a spacer with min size of -1 is used.
[wxWidgets.git] / src / dfb / font.cpp
index 83fc2138a6ee955e1ba45af9a0628ed763df6a7a..05a83676f00fcf4cd65d8f62c4dac3e65ee340b2 100644 (file)
@@ -148,13 +148,6 @@ const wxNativeFontInfo *wxFont::GetNativeFontInfo() const
     return M_FONTDATA->GetNativeFontInfo();
 }
 
-bool wxFont::GetNoAntiAliasing() const
-{
-    wxCHECK_MSG( Ok(), false, wxT("invalid font") );
-
-    return M_FONTDATA->GetNoAntiAliasing();
-}
-
 // ----------------------------------------------------------------------------
 // change font attributes
 // ----------------------------------------------------------------------------
@@ -202,8 +195,3 @@ void wxFont::SetEncoding(wxFontEncoding encoding)
     M_FONTDATA->SetEncoding(encoding);
 }
 
-void wxFont::SetNoAntiAliasing(bool no)
-{
-    AllocExclusive();
-    M_FONTDATA->SetNoAntiAliasing(no);
-}