mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 08:53:06 +08:00
Handle system colour change in wxInfoBarGeneric
Move colour settings from Create() into a new function UpdateColours(), which gets called from Create() and also upon system colour change. Closes #26633.
This commit is contained in:
committed by
Vadim Zeitlin
parent
d2c579305c
commit
f26f253694
@@ -134,6 +134,8 @@ private:
|
||||
|
||||
BarPlacement GetBarPlacement() const;
|
||||
|
||||
void UpdateColours();
|
||||
void OnSysColourChanged(wxSysColourChangedEvent& event);
|
||||
|
||||
// different controls making up the bar
|
||||
wxStaticBitmap *m_icon = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user