]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/radiobut.cpp
set string length properly in wxString(p, conv, len) ctor (patch 755593)
[wxWidgets.git] / src / gtk / radiobut.cpp
index a3b09060d5bd208159c408856eb146bbf39e790f..49a6ddb76b338eaf74502482c6c1fad36ce09d6d 100644 (file)
@@ -239,8 +239,8 @@ void wxRadioButton::OnInternalIdle()
         }
     }
 
-    if (wxUpdateUIEvent::CanUpdate())
-        UpdateWindowUI();
+    if (wxUpdateUIEvent::CanUpdate(this))
+        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }
 
 wxSize wxRadioButton::DoGetBestSize() const