summaryrefslogtreecommitdiff
path: root/components/rtgui/widgets/progressbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/rtgui/widgets/progressbar.c')
-rw-r--r--components/rtgui/widgets/progressbar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/rtgui/widgets/progressbar.c b/components/rtgui/widgets/progressbar.c
index c42f2a3688..ea8a2bece9 100644
--- a/components/rtgui/widgets/progressbar.c
+++ b/components/rtgui/widgets/progressbar.c
@@ -38,6 +38,8 @@ rt_bool_t rtgui_progressbar_event_handler(struct rtgui_object* object,
case RTGUI_EVENT_PAINT:
rtgui_theme_draw_progressbar(bar);
break;
+ default:
+ return rtgui_widget_event_handler(object, event);
}
return RT_FALSE;