diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index aa5c6d3865..f6551938a2 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -1081,6 +1081,8 @@ bool wxWindowBase::SetFont(const wxFont& font) m_hasFont = font.Ok(); m_inheritFont = m_hasFont; + InvalidateBestSize(); + return true; }