X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fdd55287d874bf890f08abbebd18702f17466381..199fbd7093daca4902bb42c9791574ad91d12565:/src/gtk/textctrl.cpp diff --git a/src/gtk/textctrl.cpp b/src/gtk/textctrl.cpp index d612b6a9c2..23b5a380f2 100644 --- a/src/gtk/textctrl.cpp +++ b/src/gtk/textctrl.cpp @@ -1591,7 +1591,8 @@ void wxTextCtrl::OnInternalIdle() } } - UpdateWindowUI(); + if (wxUpdateUIEvent::CanUpdate(this)) + UpdateWindowUI(wxUPDATE_UI_FROMIDLE); } wxSize wxTextCtrl::DoGetBestSize() const