Merging r40572 through r40597 from trunk into soc-2011-tomato
[blender-staging.git] / source / blender / editors / interface / interface_widgets.c
index 0215cc05d36c8b4ee324182cd9ffd5972b816073..63994348b85813ea9b6e6d97cc74b2935e9e937e 100644 (file)
@@ -3078,6 +3078,10 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
                                wt= widget_type(UI_WTYPE_SCROLL);
                                break;
 
+                       case TRACKPREVIEW:
+                               ui_draw_but_TRACKPREVIEW(ar, but, &tui->wcol_regular, rect);
+                               break;
+
                        default:
                                wt= widget_type(UI_WTYPE_REGULAR);
                }