Hello all,

Hate to bother the list, but I've been trying to figure out how to handle
URL clicks in wxTextCtrl and I haven't been too successful:

I've connected a handler to wxEVT_COMMAND_TEXT_URL and am able to receive an
event when I click or mouse over a URL. From there, I'd like to extract that
URL so I can launch a browser for it. The event I get is a wxCommandEvent,
though, and it doesn't seem to have any data. Being a wxCommandEvent, it
doesn't have the functions I read about here -
http://wiki.wxwidgets.org/WxTextUrlEvent - and of all of the Get functions
return 0, nil, false, etc.

My Googling turns up a few bug bounties about this in wxWidgets itself; it
seems like it's not supported on all platforms yet. That being the case,
does wxLua have a binding for this currently?

Thanks,

Evan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to