]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobox.cpp
Added direction sensitive docking.
[wxWidgets.git] / src / gtk / radiobox.cpp
index f38936d468c46fdfb1bdc33f689f46bf577a709b..7af0bde3dd342e39f495fef2c3a1f42573b1f2eb 100644 (file)
@@ -659,6 +659,9 @@ bool wxRadioBox::IsOwnGtkWindow( GdkWindow *window )
 
 void wxRadioBox::OnInternalIdle()
 {
+    // Check if we have to show window now
+    if (GtkShowFromOnIdle()) return;
+    
     if ( m_lostFocus )
     {
         m_hasFocus = false;
@@ -678,6 +681,9 @@ void wxRadioBox::OnInternalIdle()
             SetFocus();
         }
     }
+
+    if (wxUpdateUIEvent::CanUpdate(this))
+        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }
 
 // static