text ctrl with a clear button? Topic is solved

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
Ronald
I live to help wx-kind
I live to help wx-kind
Posts: 162
Joined: Mon Mar 05, 2018 4:17 am

text ctrl with a clear button?

Post by Ronald » Wed Oct 30, 2019 7:41 pm

QLineEdit_WithClearButton.png
QLineEdit_WithClearButton.png (1.04 KiB) Viewed 675 times
Any control like this?
Convenient in some case, due to habits.

PB
Part Of The Furniture
Part Of The Furniture
Posts: 2672
Joined: Sun Jan 03, 2010 5:45 pm

Re: text ctrl with a clear button?

Post by PB » Wed Oct 30, 2019 8:22 pm

I don't think so. If you are really want it, perhaps it should not be hard to write, heavily borrowing from the generic version of wxSearchCtrl.

Post Reply