X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ba5a665ac37b67ac1b87a18b2d93dff91fa395e..9d59f1fc2ee07ad28b55a6b8bae8d451705e2215:/src/gtk/textctrl.cpp diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index ba3c070bb9..596ab3c6b3 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -1077,10 +1077,10 @@ void wxTextCtrl::ChangeFontGlobally() wxString value = GetValue(); if ( !value.IsEmpty() ) { + m_updateFont = FALSE; + Clear(); AppendText(value); - - m_updateFont = FALSE; } }