Not only would this make it more multi-platform (I have no access to a GTK machine so I don't know if this works. Could someone please check?)
Looks like it works (I had to change frame.Show() to frame.Show(1) though, but that could be because it's an old version).
No, I think that was a slip on my part when copying the code from one screen to the next :)
I tried again with newer versions (Python 2.3 and wxPython 2.4); the code runs as-is, without that modification.
One odd thing though: the Windows version doesn't react to clicking or dragging the mouse, which seems to be the expected behavior.
The GTK version can be moved by dragging the mouse; even just clicking the mouse moves the window somewhat down and to the left.
That's interesting... I wonder if using those methods would conflict at all.
I couldn't reproduce that behaviour this time. It might have had something to do with the test setup the first time.
-- "Codito ergo sum" Roel Schroeven -- http://mail.python.org/mailman/listinfo/python-list