SetLayoutDirection on Mac

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
tsmorton
In need of some credit
In need of some credit
Posts: 2
Joined: Fri Dec 09, 2016 10:24 am

SetLayoutDirection on Mac

Post by tsmorton »

Are there any plans to implement wx.SetLayoutDirection for a wx.Window on Mac? It works on Windows and Linux but not on Mac. I need to display RTL languages such as Hebrew, Arabic, Farci, Persian, etc., in an HtmlWindow but it is not possible.This disenfranchises a large segment of the world's population who are unable to view their native language in wxWidgets on their Mac.

I am aware Webview can display RTL text, but as far as I know it still does not send any mouse or keyboard events back to the wx code for user interaction. This lack of interactivity would render my program nearly useless.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7477
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: SetLayoutDirection on Mac

Post by ONEEYEMAN »

Hi,
What version of the library do you use?
Can you try the latest 3.1 or even Git HEAD?

Thank you.
tsmorton
In need of some credit
In need of some credit
Posts: 2
Joined: Fri Dec 09, 2016 10:24 am

Re: SetLayoutDirection on Mac

Post by tsmorton »

Thanks for the reply.

Actually I use wx.Python 3.0.2 and cannot easily test wx itself. However it is stated in the wx code on line 3055 of /interface/wx/window.h
that it is not currently supported on Mac.
Post Reply