]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
Add new wxCommandLinkButton class.
[wxWidgets.git] / src / html / htmlwin.cpp
index a19f7c4206922a3285f5f418ff8e0f76849a15a5..ceb2fac7c8e39ee8ae24d9cfbb753980ab1c76f9 100644 (file)
@@ -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;