For the last few weeks, I've been working on an OpenSource project of my
own. And the userbase has been growing steadily. However, a small, but
important, part of the users are using MacOS machines.
I've used wxWidgets as base, and I'm using both Windows and Linux to
develop on, and test on. So I figured I would encounter most bugs that way,
and the MacOS version should be pretty much bug free.
But I was wrong. I already managed to fix quite a few problems (mostly
caused by my own mis-use of wxWidgets) but I'm stuck on a few others. So
I'm hoping to get some help, or some pointers.
My project is: https://github.com/daid/SkeinPyPy
Now, the first bug is caused by the fact that the EVT_ENTER_WINDOW and
EVT_EXIT_WINDOW don't seem to be fired for TextCtrl. I've tried to work
around this by using EVT_SET_FOCUS and EVT_KILL_FOCUS, but those also don't
seem to work. Using EVT_MOTION gave unpredictable results.
Bug report: https://github.com/daid/SkeinPyPy/issues/1
The 2nd bug is a problem with sizers. The "Remove" function does not seem
to work. At all. I dynamically add progress panels to my main window, and
have the user remove those with an "X" button. A bit in the same way as you
would expect from a torrent program. But the "Add" throws an exception that
there is still a window in the way, which is impossible as I removed them
Code can be found at:
Bug report: https://github.com/daid/SkeinPyPy/issues/17 (with exception
Any tips on how to fix these bugs? Because I tried everything I could think