This works fine, but occasionally (not always) the dialogue will appear and then instantly shift underneath the Pygame window.
I can click over to it and use it perfectly, but it is definitely annoying. From what I have read, the style flag wx.STAY_ON_TOP should solve this problem, but it doesn't change the behavior for me.
My wx dialogue creation looks like this:
- Code: Select all
wx_app = wx.App(False)
ask = wx.FileDialog(None, "Open", directory, "",
"Map files (*.map)|*.map",
Using Python 2.7 on Windows 7