I have just started using wxPython and now I am facing this problem:
I have set up a menu and set in the class where the menue is defined
EVT_MENU(self,103,command)
where command is a procedure (in another module). It is declared
def command(evt):
print evt.GetInt()+
How can I find out the id 103 of the caller? GetInt always return 0 (and so
does GetSelection()).
Another (slight) problem is, that when I use
EVT_MENU_RANGE(self,100,105,command) then command is not called at all.
Can anybody help me?
TIA,
···
--
Janos Blazi