Scrolling fixes for RTL layout with GTK3

Avoid some positioning hacks, they are not needed with GTK3
This commit is contained in:
Paul Cornett
2021-01-31 21:06:18 -08:00
parent e85f89e522
commit 01223d6af2
3 changed files with 4 additions and 2 deletions

View File

@@ -1042,7 +1042,7 @@ void wxListHeaderWindow::AdjustDC(wxDC& dc)
dc.GetDeviceOrigin( &org_x, &org_y );
// account for the horz scrollbar offset
#ifdef __WXGTK__
#if defined(__WXGTK__) && !defined(__WXGTK3__)
if (GetLayoutDirection() == wxLayout_RightToLeft)
{
// Maybe we just have to check for m_signX