diff options
| author | bernard.xiong <[email protected]> | 2010-02-03 10:28:11 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-02-03 10:28:11 +0000 |
| commit | b22642e934fd3d6efe2ace1498da5e478756c7bb (patch) | |
| tree | 85f0fc161145420c248849759f9a257af41c3849 /rtgui/widgets | |
| parent | 4f949216e353bf4f1ce3cafaf144d0d36837ac32 (diff) | |
add focus option to checkbox.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@368 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'rtgui/widgets')
| -rw-r--r-- | rtgui/widgets/checkbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtgui/widgets/checkbox.c b/rtgui/widgets/checkbox.c index 4da3fe4b31..e3677f0547 100644 --- a/rtgui/widgets/checkbox.c +++ b/rtgui/widgets/checkbox.c @@ -54,7 +54,7 @@ rt_bool_t rtgui_checkbox_event_handler(struct rtgui_widget* widget, struct rtgui emouse->button & RTGUI_MOUSE_BUTTON_UP)
{
/* set focus */
- RTGUI_WIDGET_FOCUS(widget);
+ rtgui_widget_focus(widget);
if (box->status_down & RTGUI_CHECKBOX_STATUS_UNCHECKED)
{
|
