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.
doublemax wrote: ↑Wed Jun 30, 2021 3:14 pm
[Thanks for providing a minimal, compilable sample!]
You need to add the wxTE_RICH or wxTE_RICH2 style flag when creating the wxTextCtrl.
I am using theme on plain wxtextctrl. x foreground, y background colour.
On creation hint remains as foreground colour
but on focus out became gray again. Any suggestion?
ONEEYEMAN wrote: ↑Wed Jun 30, 2021 9:02 pm
Hi,
Ate you making HTML editor?
If not - maybe you can use wxWebVirew?
Thank you.
I just changed plain wxtextfield foreground and background as indication, that it meet certain condition. But it's text colour remains same for empty field. It shows old text colour if add text in it after changes applied.
Those fields which has text before changes applied gets the colour right.