Hi, I'm trying to color some text with wxPython but I am having some trouble. I am using the SetStyle method of the TextCtrl widget. My problem is that the coloring works perfectly on Linux but does not under Windows.
My script basically gives a vocabulary test, and if you get a word correct, it should color the phrase "Correct!" green. Likewise, if you get it incorrect, "That is incorrect. Try again" should be colored red.
Rather than create a whole new example, I just attached my code in a .zip file. Just run wxVocabTest.py (only dependency is wxPython) and you will be able to see the problem.
So, why does it color fine in Linux but not Windows?
Thanks in advance.