Donate Share

wxMaxima

Subscribe

patch/fix for rtl locales

  1. 2009-10-26 13:42:50 UTC

    Here's a small patch to address problems for rtl locales, see also downstream bug, https://bugzilla.redhat.com/show_bug.cgi?id=455863

    <code> diff -up wxMaxima-0.8.3a/src/MathCtrl.cpp.ltrlayout wxMaxima-0.8.3a/src/MathCtrl.cpp --- wxMaxima-0.8.3a/src/MathCtrl.cpp.ltrlayout 2009-07-29 11:10:32.000000000 -0500 +++ wxMaxima-0.8.3a/src/MathCtrl.cpp 2009-10-25 21:44:12.939696128 -0500 @@ -86,6 +86,8 @@ MathCtrl::MathCtrl(wxWindow* parent, int mzoomFactor = 1.0; // set zoom to 100% mevaluationQueue = new EvaluationQueue(); AdjustSize(); + // hack to workaround problems in RtL locales, http://bugzilla.redhat.com/455863 + SetLayoutDirection(wxLayout_LeftToRight); }

    MathCtrl::~MathCtrl() {

    </code>

  2. 2009-10-26 13:43:47 UTC

    well, that was a good formatting FAIL, but I hope you get the idea.

  3. 2009-10-26 17:45:24 UTC

    The patch is now in svn. Thanks for reporting.

< Previous | 1 | Next >

Add a Reply

You can use Markdown syntax in your reply.

Preview

Monitor this

Log in to monitor this topic. Not registered? Create an account to receive email updates when replies are posted to this topic. If you do not log in or register, your reply will be added anonymously.