Hello to WxPython Developers,
GetRange does not seem to behave the same on all platforms all the time in WxPython 3.0. Expert recommendation was to use GetRange instead of GetString when I upgraded to 3.0 so I do not know of previous version behavior. I just know that there were deprecation messages with 3.0.
I was able to narrow down an issue with a text control to GetRange(0,-1) that was returning a string on windows while returning an empty string on Linux. The issue on Linux is with Anaconda on both Ubuntu and CentOS7.
I found out that replacing -1 with the value returned by GetLastPosition fixes the issue. So there seems to be a fix. However, I did want to point out the incompatibility between operating systems. I caused too much confusion and drew too much time from me, leading me in many directions, so I decided to share the issue here.
I hope this will be fixed in the future and save others time.
Jacob