aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/gwin/list.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gwin/list.h b/include/gwin/list.h
index b01dbf3f..fc189658 100644
--- a/include/gwin/list.h
+++ b/include/gwin/list.h
@@ -205,10 +205,12 @@ bool_t gwinListItemIsSelected(GHandle gh, int item);
*/
int gwinListGetSelected(GHandle gh);
-#if GWIN_NEED_LIST_IMAGES
+#if GWIN_NEED_LIST_IMAGES || defined(__DOXYGEN__)
/**
* @brief Set the image for a list item
*
+ * @pre GWIN_NEED_LIST_IMAGES must be set to true in your gfxconf.h
+ *
* @param[in] gh The widget handle (must be a list handle)
* @param[in] item The item ID
* @param[in] pimg The image to be displayed or NULL to turn off the image for this list item.