mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 08:53:06 +08:00
Add system color change responsiveness to ribbon
Add new wxRibbonArtProvider::UpdateColoursFromSystem() and implement it in wxRibbonMSWArtProvider. Closes #26644.
This commit is contained in:
committed by
Vadim Zeitlin
parent
6c3b09b8d3
commit
8b080b8cb0
@@ -344,6 +344,15 @@ public:
|
||||
const wxColour& secondary,
|
||||
const wxColour& tertiary) = 0;
|
||||
|
||||
/**
|
||||
Called when the system colours change to allow the art provider to
|
||||
update its colours. Override to recalculate colours from the current
|
||||
system settings.
|
||||
|
||||
@since 3.3.3
|
||||
*/
|
||||
virtual void UpdateColoursFromSystem() {}
|
||||
|
||||
/**
|
||||
Draw the background of the tab region of a ribbon bar.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user