Document WX_DECLARE_LIST and WX_DEFINE_LIST macros

Even though they're deprecated, they should still be documented, just as
similar WX_DECLARE_OBJARRAY and WX_DEFINE_OBJARRAY are.
This commit is contained in:
Vadim Zeitlin 2023-04-10 21:27:37 +02:00
parent 50261bb88f
commit 3335be1362

View file

@ -460,3 +460,19 @@ public:
void SetData(T* data);
};
/**
This macro declares a new legacy linked list container named @a name and
containing pointers to the objects of type @e T.
You must use the WX_DEFINE_LIST() macro to define the class declared by
this macro.
*/
#define WX_DECLARE_LIST(T, name)
/**
This macro define a new legacy linked list container named @a name.
You must use WX_DECLARE_LIST() macro to declare the list class before
defining it.
*/
#define WX_DEFINE_LIST(T, name)