how to UnDo SetBackgroundColour() 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
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

how to UnDo SetBackgroundColour()

Post by cutecode »

Suppose I set to a window some colour with SetBackgroundColour().
Then I changed my mind, and want to set it back to default system theame colour.
How to set it back?


Thank you
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
catalin
Moderator
Moderator
Posts: 1618
Joined: Wed Nov 12, 2008 7:23 am
Location: Romania

Re: how to UnDo SetBackgroundColour()

Post by catalin »

RTFM: "pass wxNullColour to reset to the default colour".
User avatar
cutecode
Super wx Problem Solver
Super wx Problem Solver
Posts: 425
Joined: Fri Dec 09, 2016 7:28 am
Contact:

Re: how to UnDo SetBackgroundColour()

Post by cutecode »

thank you!!!
wx 3.1.6 win/mac/linux

regards,
Alexander Saprykin
https://v2.dental-soft.ru
Post Reply