update according to 0.3.1

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@686 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong
2010-05-02 12:26:19 +00:00
parent 030b39fad4
commit 16f7ea2f95
2 changed files with 17 additions and 6 deletions
+6 -1
View File
@@ -156,6 +156,11 @@ void rtgui_win_destroy(struct rtgui_win* win)
}
}
void rtgui_win_close(struct rtgui_win* win)
{
win->style |= RTGUI_WIN_STYLE_CLOSED;
}
rtgui_modal_code_t rtgui_win_show(struct rtgui_win* win, rt_bool_t is_modal)
{
rtgui_modal_code_t result;
@@ -416,7 +421,7 @@ rt_bool_t rtgui_win_event_handler(struct rtgui_widget* widget, struct rtgui_even
if (widget->on_draw != RT_NULL) widget->on_draw(widget, event);
else
#endif
rtgui_win_ondraw(win);
rtgui_widget_update(RTGUI_WIDGET(win));
if (win->on_activate != RT_NULL)
{