Dick Kniep wrote:
Hi List,
Here is a small piece of code that illustrates a problem I have with compatibility between Windows XP and Linux. The code runs as expected on Linux, but generates empty tab(s) on Windows. So this may indicate a bug
I hope you can help me with this one, because I really need the Windows version.
As others have pointed out, the problem lies with your EVT_SIZE event binding. You are catching the notebook's size event (so it has already changed size), and then resetting the size to the evt.GetSize() (which seems to be a little off on MSW.) So not catching that event at all will fix it because the frame is already handling things for you, as will the notebook since it will resize its page windows at the same time.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!