Merging r41597 through r41607 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / interface / interface_widgets.c
index 878d1bc36a471fe4e314ce665a0aa1da20ec3a54..8ab48ac8ffa1e6c16ef8a6f6988a154f0ba99970 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);
                }