wxTE_AUTO_URL for single line wxTextCtrl

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
gbuergisser
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Nov 07, 2011 12:41 pm

wxTE_AUTO_URL for single line wxTextCtrl

Post by gbuergisser »

Hi all,
I'd like to use the wxTE_AUTO_URL for a single line wxTextCtrl. It seems it's only to be working together with wxTE_MULTILINE (which is not explicitely documented).
Thanks and regards,
Gregor
User avatar
doublemax
Moderator
Moderator
Posts: 19117
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxTE_AUTO_URL for single line wxTextCtrl

Post by doublemax »

I don't see code that explicitly disables it in single line controls, so i guess that the underlying native control just doesn't support it.

There is probably not much you can do about this.

IMHO it doesn't make much sense anyway. If you just want a clickable link, use wxHyperlinkCtrl
Use the source, Luke!
gbuergisser
Knows some wx things
Knows some wx things
Posts: 31
Joined: Mon Nov 07, 2011 12:41 pm

Re: wxTE_AUTO_URL for single line wxTextCtrl

Post by gbuergisser »

Thank you for your reply. I'll have a look at wxHyperlinkCtrl.
Post Reply