summaryrefslogtreecommitdiff
path: root/components/rtgui/include
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-11-23 12:22:48 +0000
committer[email protected] <[email protected]>2010-11-23 12:22:48 +0000
commit14169f7e8e2830520c3cecc9734c9b9e4360c396 (patch)
treeba8267097c1fc6416792376dce04445a1f00757d /components/rtgui/include
parente01636a3ffe1ad1d16380c9b69ad713b60a57b77 (diff)
fix some compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1101 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/rtgui/include')
-rw-r--r--components/rtgui/include/rtgui/widgets/button.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/rtgui/include/rtgui/widgets/button.h b/components/rtgui/include/rtgui/widgets/button.h
index f5a0c97969..989f753643 100644
--- a/components/rtgui/include/rtgui/widgets/button.h
+++ b/components/rtgui/include/rtgui/widgets/button.h
@@ -61,8 +61,8 @@ typedef struct rtgui_button rtgui_button_t;
rtgui_type_t *rtgui_button_type_get(void);
-rtgui_button_t* rtgui_button_create(char* text);
-rtgui_button_t* rtgui_pushbutton_create(char* text);
+rtgui_button_t* rtgui_button_create(const char* text);
+rtgui_button_t* rtgui_pushbutton_create(const char* text);
void rtgui_button_destroy(rtgui_button_t* btn);
void rtgui_button_set_pressed_image(rtgui_button_t* btn, rtgui_image_t* image);