]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
got rid of (unused since a long time) wxNO_3D and wxUSER_COLOURS
[wxWidgets.git] / src / gtk / textctrl.cpp
index d612b6a9c221dcdd702473376d42de023e75827b..b87712e0c1d1a52f1b969da1f973d7065e69d6e4 100644 (file)
@@ -1591,7 +1591,8 @@ void wxTextCtrl::OnInternalIdle()
         }
     }
 
-    UpdateWindowUI();
+    if (wxUpdateUIEvent::CanUpdate())
+        UpdateWindowUI();
 }
 
 wxSize wxTextCtrl::DoGetBestSize() const