]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/listbox.cpp
GetClientData(int n) should be const (part of patch 649438)
[wxWidgets.git] / src / gtk1 / listbox.cpp
index 4f166e489e42716fc30948cdfe6bd99092715bbc..da155214957bb0466d8019affdd85445a6f7565b 100644 (file)
@@ -1039,8 +1039,8 @@ void wxListBox::OnInternalIdle()
         }
     }
 
-    if (wxUpdateUIEvent::CanUpdate())
-        UpdateWindowUI();
+    if (wxUpdateUIEvent::CanUpdate(this))
+        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }
 
 wxSize wxListBox::DoGetBestSize() const