[erlang-questions] wx: getBoundingRect - how to return the bounding rectangle?
Lars-Åke Fredlund
lfredlund@REDACTED
Wed Jan 23 10:35:55 CET 2013
The getBoundingRect function in for instance wxTreeCtrl has the type
getBoundingRect(This, Item, Rect) -> boolean(), indicating that one has
to pass a Rect(angle) to it.
However, the corresponding wx method
*bool* *GetBoundingRect*(*const wxTreeItemId
<http://docs.wxwidgets.org/2.8/wx_wxtreeitemid.html#wxtreeitemid>&*/item/,
*wxRect <http://docs.wxwidgets.org/2.8/wx_wxrect.html#wxrect>& */rect/,
*bool */textOnly = false/) *const*
actually returns the bounding rectangle for the item in the argument.
Any way around this?
Thanks,
Lars-Ake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130123/533683c3/attachment.htm>
More information about the erlang-questions
mailing list