Page 1 of 1

how to UnDo SetBackgroundColour()

Posted: Mon May 11, 2020 9:39 am
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

Re: how to UnDo SetBackgroundColour()

Posted: Mon May 11, 2020 11:48 am
by catalin
RTFM: "pass wxNullColour to reset to the default colour".

Re: how to UnDo SetBackgroundColour()

Posted: Mon May 11, 2020 12:41 pm
by cutecode
thank you!!!