pygame in wxNotebook

Hi,
Im trying to put a pygame window as one of a tabs of a wxNotebook. I've attached my code but somehow the pygame window doesnt seem to attach itself. What am I doing wrong? or cant I do this/pygame doesnt allow it?
Im using wxpython 2.6.3.3 and pygame 1.7.1 on windows.
Thanks for any help
Astan

wxpygame.py (2.74 KB)

···

--
"Formulations of number theory: Complete, Consistent, Non-trivial. Choose two."

Animal Logic
http://www.animallogic.com

Please think of the environment before printing this email.

This email and any attachments may be confidential and/or privileged. If you are not the intended recipient of this email, you must not disclose or use the information contained in it. Please notify the sender immediately and delete this document if you have received it in error. We do not guarantee this email is error or virus free.