]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/window.cpp
test undividable words
[wxWidgets.git] / src / os2 / window.cpp
index 7903c10e6c5bf4e28758a0f84e6258c8925cde0a..affeabe47e5588111935250d5a1448f18901c9d7 100644 (file)
@@ -1364,8 +1364,8 @@ void wxWindowOS2::OnIdle(
             (void)GetEventHandler()->ProcessEvent(rEvent);
         }
     }
-    if (wxUpdateUIEvent::CanUpdate())
-        UpdateWindowUI();
+    if (wxUpdateUIEvent::CanUpdate(this))
+        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 } // end of wxWindowOS2::OnIdle
 
 //