]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
once again forgot about this OS/2 strangeness
[wxWidgets.git] / src / gtk / textctrl.cpp
index ba3c070bb9b9b529a734bfdccd8d52210d65bd92..596ab3c6b30e20c7bb8c3c555e1521fabef26a6e 100644 (file)
@@ -1077,10 +1077,10 @@ void wxTextCtrl::ChangeFontGlobally()
     wxString value = GetValue();
     if ( !value.IsEmpty() )
     {
+        m_updateFont = FALSE;
+
         Clear();
         AppendText(value);
-
-        m_updateFont = FALSE;
     }
 }