Fix RTL mirroring for wxClientDC, etc with GTK3

The changes to the Cairo context must be done before wxGC::CreateFromNative()
is called, otherwise they will be overwritten
This commit is contained in:
Paul Cornett
2021-02-06 08:28:13 -08:00
parent 67fc7c5508
commit 62c119fa1e
2 changed files with 15 additions and 27 deletions

View File

@@ -41,6 +41,7 @@ public:
protected:
// Set m_size from the given (valid) GdkWindow.
void InitSize(GdkWindow* window);
void AdjustForRTL(cairo_t* cr);
wxSize m_size;
wxLayoutDirection m_layoutDir;