font affects best size, invalidate cache if it changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2004-08-15 11:50:48 +00:00
parent 6dd18972d5
commit 583d7e555e

View File

@ -1081,6 +1081,8 @@ bool wxWindowBase::SetFont(const wxFont& font)
m_hasFont = font.Ok();
m_inheritFont = m_hasFont;
InvalidateBestSize();
return true;
}