diff --git a/docs/changes.txt b/docs/changes.txt index 971993ede0..44966c27d3 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -411,6 +411,7 @@ MSW: All (GUI): - wxAUI: support auto-orientable toolbars (wsu). +- wxHTML: render in RTL order inside RTL window (Richard Bullington-McGuire). - Add support for CP-866 encoding to wxEncodingConverter (madnut). diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index a19f7c4206..ceb2fac7c8 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -1149,6 +1149,7 @@ void wxHtmlWindow::OnPaint(wxPaintEvent& WXUNUSED(event)) // draw the HTML window contents dc->SetMapMode(wxMM_TEXT); dc->SetBackgroundMode(wxBRUSHSTYLE_TRANSPARENT); + dc->SetLayoutDirection(GetLayoutDirection()); wxHtmlRenderingInfo rinfo; wxDefaultHtmlRenderingStyle rstyle;