mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
fix compiling warnings and errors ifndef RTGUI_USING_SMALL_SIZE
Thank lgnq for pointing out it. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2096 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -30,7 +30,8 @@ rt_bool_t rtgui_staticline_event_handler(struct rtgui_object* object, struct rtg
|
||||
{
|
||||
case RTGUI_EVENT_PAINT:
|
||||
#ifndef RTGUI_USING_SMALL_SIZE
|
||||
if (widget->on_draw != RT_NULL) widget->on_draw(widget, event);
|
||||
if (widget->on_draw != RT_NULL)
|
||||
widget->on_draw(RTGUI_OBJECT(widget), event);
|
||||
else
|
||||
#endif
|
||||
rtgui_theme_draw_staticline(staticline);
|
||||
|
||||
Reference in New Issue
Block a user