Fix drawing miniframe resize grip with GTK3, see #17918

This commit is contained in:
Paul Cornett 2017-07-22 12:04:56 -07:00
parent 537cf17ca9
commit c4acd5f9dd

View File

@ -85,7 +85,8 @@ static gboolean expose_event(GtkWidget* widget, GdkEventExpose* gdk_event, wxMin
{ {
dc.SetBrush( *wxGREY_BRUSH ); dc.SetBrush( *wxGREY_BRUSH );
dc.SetPen( *wxTRANSPARENT_PEN ); dc.SetPen( *wxTRANSPARENT_PEN );
dc.DrawRectangle( win->m_width - 14, win->m_height-14, 14, 14 ); dc.DrawRectangle(win->m_width - 14, win->m_height - win->m_miniEdge, 14, win->m_miniEdge);
dc.DrawRectangle(win->m_width - win->m_miniEdge, win->m_height - 14, win->m_miniEdge, 14);
} }
if (win->m_miniTitle && !win->GetTitle().empty()) if (win->m_miniTitle && !win->GetTitle().empty())