diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index 2dc4688772..de22c22662 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -1955,6 +1955,9 @@ void wxPropertyGrid::DrawItems( wxDC& dc, else { bufferDC = new wxMemoryDC(); + // Use the same layout direction as the window DC uses + // to ensure that the text is rendered correctly. + bufferDC->SetLayoutDirection(dc.GetLayoutDirection()); // If nothing was changed, then just copy from double-buffer bufferDC->SelectObject( *m_doubleBuffer );