fix for infinite recursion in UpdateFontIfNeeded

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-08-03 17:19:55 +00:00
parent 46c87a9a8a
commit 572aeb7789
2 changed files with 4 additions and 4 deletions

View File

@@ -1077,10 +1077,10 @@ void wxTextCtrl::ChangeFontGlobally()
wxString value = GetValue();
if ( !value.IsEmpty() )
{
m_updateFont = FALSE;
Clear();
AppendText(value);
m_updateFont = FALSE;
}
}

View File

@@ -1077,10 +1077,10 @@ void wxTextCtrl::ChangeFontGlobally()
wxString value = GetValue();
if ( !value.IsEmpty() )
{
m_updateFont = FALSE;
Clear();
AppendText(value);
m_updateFont = FALSE;
}
}