From e1ac8c99e46219a3bfd539c0bd06fe6b7adb44ad Mon Sep 17 00:00:00 2001
From: Julian Smart <julian@anthemion.co.uk>
Date: Fri, 30 May 2008 17:50:45 +0000
Subject: [PATCH] Typo correction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 src/gtk/control.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gtk/control.cpp b/src/gtk/control.cpp
index a92d109556..302c5018b6 100644
--- a/src/gtk/control.cpp
+++ b/src/gtk/control.cpp
@@ -297,7 +297,7 @@ void wxControl::OnInternalIdle()
         GTKUpdateCursor();
     }
 
-    if ( wxUpdateUIEvent::CanUpdate(this) && IsVisibleOnScreen() )
+    if ( wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen() )
         UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }
 
-- 
2.47.2