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:
parent
6dd18972d5
commit
583d7e555e
@ -1081,6 +1081,8 @@ bool wxWindowBase::SetFont(const wxFont& font)
|
||||
m_hasFont = font.Ok();
|
||||
m_inheritFont = m_hasFont;
|
||||
|
||||
InvalidateBestSize();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user