diff options
| author | bernard.xiong <[email protected]> | 2011-01-20 09:59:45 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2011-01-20 09:59:45 +0000 |
| commit | 66037b4de6baded89f0bb072cd9f33c103f45dd1 (patch) | |
| tree | c902df0ec8cdeb03d7af281d882f44260f399644 /components/rtgui/widgets/listctrl.c | |
| parent | 17b7ae81e247f3b7c82dc6fbcb294583eeee3cfd (diff) | |
add textstyle in gc; fix hz_cache memory leak issue; fix selection issue in radiobox.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1250 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/widgets/listctrl.c')
| -rw-r--r-- | components/rtgui/widgets/listctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rtgui/widgets/listctrl.c b/components/rtgui/widgets/listctrl.c index 10087dc8d1..29b7fca013 100644 --- a/components/rtgui/widgets/listctrl.c +++ b/components/rtgui/widgets/listctrl.c @@ -24,7 +24,7 @@ static void _rtgui_listctrl_constructor(struct rtgui_listctrl *ctrl) RTGUI_WIDGET(ctrl)->flag |= RTGUI_WIDGET_FLAG_FOCUSABLE;
- ctrl->current_item = 0;
+ ctrl->current_item = -1;
ctrl->items_count = 0;
ctrl->page_items = 0;
ctrl->on_item = 0;
|
