Black theme button
Сергей Коныгин <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hi!
I experiment with a black theme. I have changed a button style in the
following way:
pButton->SetBackgroundColour( wxColour( 64, 64, 64 ));
pButton->SetForegroundColour( wxColour( 255,255,255 ));
long nStyle = pButton->GetWindowStyle();
nStyle |= wxBORDER_NONE;
pButton->SetWindowStyle( nStyle );
But the button colour doesn't change when the mouse cursor moves via the
button area. If I don't change the border style the button is highlighted
by light theme colour. It looks terrible.
Can I change the highlighted button colour? Or how can I catch a mouse
event when it goes via the button area.
--
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/7cdba24c-e41d-43de-9621-5afbba3fa91en%40googlegroups.com.