ARTICLE AD BOX
I’d like to know whether it’s possible to change the background color of a wxButton when the mouse is hovering over it. On Windows, I tried handling the enter/leave window events, but it seems the background color is overridden by the system theme. If I turn the theme off, the color change works, but the button no longer looks good.
Is it possible to change only the background color while keeping the rest of the themed appearance?
I’d prefer to avoid fully custom painting and would rather use a flag, hook into a Windows message, or something similar.
