WindowSetForegroundColor
HC
GUI programming
WindowSet
WindowSetForegroundColor
WindowSetForegroundColor window colour
Sets the foreground colour of the window.
Please see InheritAttributes for explanation of the difference between this method and SetOwnForegroundColour.
Parameters
colour: The colour to be used as the foreground colour, pass wxNullColour to reset to the default colour.
Remarks: The interpretation of foreground colour is open to interpretation according to the window class; it may be the text colour or other colour, or it may not be used at all.
Using this function will disable attempts to use themes for this window, if the system supports them. Use with care since usually the themes represent the appearance chosen by the user to be used for all applications on the system.