Set layout direction for wxClientDC
Should have been part of
62c119fa1e
(Fix RTL mirroring for wxClientDC, etc with GTK3, 2021-02-06)
This commit is contained in:
@@ -452,6 +452,7 @@ wxClientDCImpl::wxClientDCImpl(wxClientDC* owner, wxWindow* window)
|
||||
if (gdkWindow)
|
||||
{
|
||||
cairo_t* cr = gdk_cairo_create(gdkWindow);
|
||||
SetLayoutDirection(wxLayout_Default);
|
||||
AdjustForRTL(cr);
|
||||
wxGraphicsContext* gc = wxGraphicsContext::CreateFromNative(cr);
|
||||
cairo_destroy(cr);
|
||||
|
Reference in New Issue
Block a user