Ticket URL: <
http://trac.wxwidgets.org/ticket/9640>
#9640: wxListCtrl:GetItem docs should mention that SetMask is obligatory
--------------------------+-------------------------------------------------
Reporter: techtonik | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: doxygen docs | Version: 2.8.8
Keywords: | Blockedby:
Patch: 0 | Blocking:
--------------------------+-------------------------------------------------
[
http://docs.wxwidgets.org/2.8.8/wx_wxlistctrl.html#wxlistctrlgetitem wxListCtrl:GetItem()] docs should mention that setting mask via
[
http://docs.wxwidgets.org/2.8.8/wx_wxlistitem.html#wxlistitemsetmask wxListItem::SetMask()] is obligatory to read text, data, image or state
values.
I.e. change:
{{{
You must call info.SetId() to the ID of item you're interested in before
calling this method.
}}}
To:
{{{
You must call info.SetId() to specify the ID of item you're interested in
before calling this method. You should also explicitly call info.SetMask()
to fill text, state, image or data values into info fields.
}}}
--
Ticket URL: <
http://trac.wxwidgets.org/ticket/9640>
_______________________________________________
wx-dev mailing list
wx-dev@...
http://lists.wxwidgets.org/mailman/listinfo/wx-dev