wxRuby Documentation Home

# Wx::SysColourChangedEvent

This class is used for system colour change events, which are generated
when the user changes the colour settings using the control panel.
This is only appropriate under Windows.

## Derived from

Event

Object

## Event table macros

To process a system colour changed event, use this event handler macro to direct input to a member
function that takes a SysColourChanged argument.

evt_sys_colour_changed() { | event | … } | Process a EVT_SYS_COLOUR_CHANGED event.

## Remarks

The default event handler for this event propagates the event to child windows, since
Windows only sends the events to top-level windows. If
intercepting this event for a top-level window, remember to call the base class handler,
or to pass the event on to the window’s children explicitly.

## See also

Event handling overview

## Methods

- SysColourChangedEvent.new

### SysColourChangedEvent.new

[This page automatically generated from the Textile source at 2023-06-09 00:45:37 +0000]