summaryrefslogtreecommitdiff
path: root/components/rtgui/widgets/window.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-07-26 06:36:49 +0000
committer[email protected] <[email protected]>2012-07-26 06:36:49 +0000
commit08e05eb3b493cd92601217fcf86fe6daa196eec4 (patch)
tree8a4d360ceb974599fd9c934b827519e5c3542abd /components/rtgui/widgets/window.c
parentf7fbd6bc6d72ba92e8d2c30176e94ab36e7c7c4e (diff)
sync with github bd3351e572
As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2234 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/widgets/window.c')
-rw-r--r--components/rtgui/widgets/window.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/components/rtgui/widgets/window.c b/components/rtgui/widgets/window.c
index 515817cd21..96300a5340 100644
--- a/components/rtgui/widgets/window.c
+++ b/components/rtgui/widgets/window.c
@@ -594,16 +594,6 @@ void rtgui_win_set_rect(rtgui_win_t* win, rtgui_rect_t* rect)
}
}
-#ifndef RTGUI_USING_SMALL_SIZE
-void rtgui_win_set_box(rtgui_win_t* win, rtgui_box_t* box)
-{
- if (win == RT_NULL || box == RT_NULL) return;
-
- rtgui_container_add_child(RTGUI_CONTAINER(win), RTGUI_WIDGET(box));
- rtgui_widget_set_rect(RTGUI_WIDGET(box), &(RTGUI_WIDGET(win)->extent));
-}
-#endif
-
void rtgui_win_set_onactivate(rtgui_win_t* win, rtgui_event_handler_ptr handler)
{
if (win != RT_NULL)