Fix setting wxRIBBON_ART_GALLERY_BUTTON_ACTIVE_BACKGROUND_TOP_COLOUR
wxRibbonMSWArtProvider::SetColour() used a wrong variable for this colour index, assign to the correct one. Closes #22321.
This commit is contained in:
parent
94f698cc15
commit
13339425be
1 changed files with 1 additions and 1 deletions
|
|
@ -1079,7 +1079,7 @@ void wxRibbonMSWArtProvider::SetColour(int id, const wxColor& colour)
|
|||
m_gallery_button_active_background_gradient_colour = colour;
|
||||
break;
|
||||
case wxRIBBON_ART_GALLERY_BUTTON_ACTIVE_BACKGROUND_TOP_COLOUR:
|
||||
m_gallery_button_background_top_brush.SetColour(colour);
|
||||
m_gallery_button_active_background_top_brush.SetColour(colour);
|
||||
break;
|
||||
case wxRIBBON_ART_GALLERY_BUTTON_ACTIVE_FACE_COLOUR:
|
||||
m_gallery_button_active_face_colour = colour;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue