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:
parent
67fc7c5508
commit
62c119fa1e
2 changed files with 15 additions and 27 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue