mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-25 08:47:16 +00:00
sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 9573987ab967d6823151f967e4715a995579c8e5
As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2301 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -493,13 +493,6 @@ rt_bool_t rtgui_win_event_handler(struct rtgui_object* object, struct rtgui_even
|
||||
}
|
||||
|
||||
win->flag |= RTGUI_WIN_FLAG_ACTIVATE;
|
||||
#ifndef RTGUI_USING_SMALL_SIZE
|
||||
if (RTGUI_WIDGET(object)->on_draw != RT_NULL)
|
||||
RTGUI_WIDGET(object)->on_draw(object, event);
|
||||
else
|
||||
#endif
|
||||
rtgui_widget_update(RTGUI_WIDGET(win));
|
||||
|
||||
if (win->on_activate != RT_NULL)
|
||||
{
|
||||
win->on_activate(RTGUI_OBJECT(object), event);
|
||||
@@ -522,13 +515,6 @@ rt_bool_t rtgui_win_event_handler(struct rtgui_object* object, struct rtgui_even
|
||||
else
|
||||
{
|
||||
win->flag &= ~RTGUI_WIN_FLAG_ACTIVATE;
|
||||
#ifndef RTGUI_USING_SMALL_SIZE
|
||||
if (RTGUI_WIDGET(object)->on_draw != RT_NULL)
|
||||
RTGUI_WIDGET(object)->on_draw(object, event);
|
||||
else
|
||||
#endif
|
||||
rtgui_widget_update(RTGUI_WIDGET(win));
|
||||
|
||||
if (win->on_deactivate != RT_NULL)
|
||||
{
|
||||
win->on_deactivate(RTGUI_OBJECT(object), event);
|
||||
|
||||
Reference in New Issue
Block a user