]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/control.cpp
Use g_signal_connect_after for wxRadioButton as well
[wxWidgets.git] / src / gtk / control.cpp
index a92d10955644de1b2b25148e72258a82d659f6ab..302c5018b610551bb0ace968651c71a0ec519eb9 100644 (file)
@@ -297,7 +297,7 @@ void wxControl::OnInternalIdle()
         GTKUpdateCursor();
     }
 
-    if ( wxUpdateUIEvent::CanUpdate(this) && IsVisibleOnScreen() )
+    if ( wxUpdateUIEvent::CanUpdate(this) && IsShownOnScreen() )
         UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }