]> git.saurik.com Git - wxWidgets.git/commitdiff
really applied Robert's patch (and not the converse of it)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Oct 2003 21:41:53 +0000 (21:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 27 Oct 2003 21:41:53 +0000 (21:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/textctrl.cpp
src/gtk1/textctrl.cpp

index 93416da331fa8fc89f00dd05ee4907bd42224fdd..36edaf5f50d70b44f4a978564fd56d712690df44 100644 (file)
@@ -608,7 +608,7 @@ void wxTextCtrl::WriteText( const wxString &text )
         // in UpdateFontIfNeeded() any longer
         if ( !text.empty() )
         {
-            m_updateFont = TRUE;
+            m_updateFont = FALSE;
         }
 
         // Bring editable's cursor back uptodate.
index 93416da331fa8fc89f00dd05ee4907bd42224fdd..36edaf5f50d70b44f4a978564fd56d712690df44 100644 (file)
@@ -608,7 +608,7 @@ void wxTextCtrl::WriteText( const wxString &text )
         // in UpdateFontIfNeeded() any longer
         if ( !text.empty() )
         {
-            m_updateFont = TRUE;
+            m_updateFont = FALSE;
         }
 
         // Bring editable's cursor back uptodate.