set up the correct layout direction for memory dc in Render() (patch 1789359)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1742,6 +1742,11 @@ void wxAuiTabContainer::Render(wxDC* raw_dc, wxWindow* wnd)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
wxMemoryDC dc;
|
wxMemoryDC dc;
|
||||||
|
|
||||||
|
// use the same layout direction as the window DC uses to ensure that the
|
||||||
|
// text is rendered correctly
|
||||||
|
dc.SetLayoutDirection(raw_dc->GetLayoutDirection());
|
||||||
|
|
||||||
wxBitmap bmp;
|
wxBitmap bmp;
|
||||||
size_t i;
|
size_t i;
|
||||||
size_t page_count = m_pages.GetCount();
|
size_t page_count = m_pages.GetCount();
|
||||||
|
Reference in New Issue
Block a user