Fix wxSplitterWindow sash appearance with some GTK themes

See #18981
This commit is contained in:
Paul Cornett
2020-11-21 08:09:23 -08:00
parent dd864cffe0
commit b27aefacef

View File

@@ -449,6 +449,9 @@ wxRendererGTK::DrawSplitterSash(wxWindow* win,
#ifdef __WXGTK3__
wxGtkStyleContext sc(dc.GetContentScaleFactor());
sc.AddWindow();
gtk_render_background(sc, drawable, rect.x - x_diff, rect.y, rect.width, rect.height);
sc.Add(GTK_TYPE_PANED, "paned", "pane-separator", NULL);
if (gtk_check_version(3,20,0) == NULL)
sc.Add("separator");