diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-07-01 17:34:13 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-07-01 17:34:13 +1000 |
commit | 57d3632e36fe2ab55589207a84c29544b15bd2c3 (patch) | |
tree | e68070f37cf88b33fb5d717d9ef839c5e2e8dc88 /src/gwin/checkbox.c | |
parent | a51ffd5b6891a9fb87ac3a903ae6b415fc32c726 (diff) | |
download | uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.tar.gz uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.tar.bz2 uGFX-57d3632e36fe2ab55589207a84c29544b15bd2c3.zip |
GWIN Init structures are const (read-only to GWIN)
Diffstat (limited to 'src/gwin/checkbox.c')
-rw-r--r-- | src/gwin/checkbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/checkbox.c b/src/gwin/checkbox.c index b4628ae0..62f4c55b 100644 --- a/src/gwin/checkbox.c +++ b/src/gwin/checkbox.c @@ -113,7 +113,7 @@ static uint16_t ToggleGet(GWidgetObject *gw, uint16_t role) { return ((GCheckboxObject *)gw)->toggle; } -GHandle gwinCreateCheckbox(GCheckboxObject *gb, GWidgetInit *pInit) { +GHandle gwinCreateCheckbox(GCheckboxObject *gb, const GWidgetInit *pInit) { if (!(gb = (GCheckboxObject *)_gwidgetCreate(&gb->w, pInit, &checkboxVMT))) return 0; |