]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
avoiding a OS-Level set focus for a control that already has the focus
[wxWidgets.git] / src / common / wincmn.cpp
index aa5c6d38653702256dbc393c32cb3fcf7bf338aa..f6551938a2951e12c583f435f4f19c40fe469c47 100644 (file)
@@ -1081,6 +1081,8 @@ bool wxWindowBase::SetFont(const wxFont& font)
     m_hasFont = font.Ok();
     m_inheritFont = m_hasFont;
 
+    InvalidateBestSize();
+
     return true;
 }