Use flags for drawing arrow in wxGTK DrawComboBoxDropButton()

This would seem to be required for drawing it correctly in the disabled
state, for example, but is still insufficient to fix its appearance, at
least with GTK 3.

See #22431.
This commit is contained in:
Vadim Zeitlin 2022-05-17 16:45:37 +02:00
parent 2efa26cc1f
commit ed264087ec

View File

@ -550,7 +550,7 @@ wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
int flags)
{
DrawPushButton(win,dc,rect,flags);
DrawDropArrow(win,dc,rect);
DrawDropArrow(win,dc,rect,flags);
}
// Helper used by GetCheckBoxSize() and DrawCheckBox().