From 92a50c838d8ca2ae4027fd77b71db12fb52d86e3 Mon Sep 17 00:00:00 2001 From: "chaos.proton@gmail.com" Date: Fri, 20 Jul 2012 12:37:56 +0000 Subject: sync with RTGUI c074ff2898b9e Full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2222 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/rtgui/common/dc_client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/rtgui/common/dc_client.c') diff --git a/components/rtgui/common/dc_client.c b/components/rtgui/common/dc_client.c index 22d2887095..154eb359bd 100644 --- a/components/rtgui/common/dc_client.c +++ b/components/rtgui/common/dc_client.c @@ -21,7 +21,7 @@ #include #include -#include +#include #include #include #include @@ -139,7 +139,7 @@ struct rtgui_dc* rtgui_dc_client_create(rtgui_widget_t* owner) #endif } } - else if (RTGUI_IS_APPLICATION(owner->toplevel)) + else if (RTGUI_IS_APP(owner->toplevel)) { RT_ASSERT(0); } @@ -207,7 +207,7 @@ static rt_bool_t rtgui_dc_client_fini(struct rtgui_dc* dc) #endif } } - else if (RTGUI_IS_APPLICATION(owner->toplevel) || + else if (RTGUI_IS_APP(owner->toplevel) || RTGUI_IS_WIN(owner->toplevel)) { rtgui_toplevel_t* top = RTGUI_TOPLEVEL(owner->toplevel); -- cgit v1.3.1