How to make wxHyperlinkCtrl user editable?

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.
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: How to make wxHyperlinkCtrl user editable?

Post by doublemax »

Is the control inside a sizer? Maybe it shrinks to size 0 if there is no text. In that case try setting a reasonable minimum size.
Use the source, Luke!
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: How to make wxHyperlinkCtrl user editable?

Post by ONEEYEMAN »

Hi,
You can try to bind the event to the text control itself and not the wxHyperlinkCtrl.
Since I presume the control is located in some kind of a text control...

Thank you.
Post Reply