]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/tbargtk.cpp
use mask for GIFs (part of patch 649438)
[wxWidgets.git] / src / gtk1 / tbargtk.cpp
index 326ff64c769ddee5c241b9614adac0dd9dbcbb43..a5a5b2b946aab6229572150b37fc429b534aefed 100644 (file)
@@ -673,8 +673,8 @@ void wxToolBar::OnInternalIdle()
         }
     }
 
-    if (wxUpdateUIEvent::CanUpdate())
-        UpdateWindowUI();
+    if (wxUpdateUIEvent::CanUpdate(this))
+        UpdateWindowUI(wxUPDATE_UI_FROMIDLE);
 }
 
 #endif // wxUSE_TOOLBAR_NATIVE