Thank you for your answer Araq. I'm on windows 7 so i cannot use Valgrind. 
Itm.bmp is a PyObject, i create 50 of them per page using a wxTimer in order to 
make the scrolling of the page smooth, so i need to check in the Paint event if 
itm.bmp has been set so i can draw it. How can i check if itm.bmp is a valid 
PyObject and not NULL?

Reply via email to