Dear Serge,
Even if i comment out line 95 i get following traceback:
Traceback (most recent call last):
聽聽File "digitizer.py", line 246, in ?
聽聽聽聽main()
聽聽File "digitizer.py", line 243, in main
聽聽聽聽app = MyApp(0)
聽聽File "C:\PROGRA~1\Python23\lib\site-packages\wxPython\wx.py", line 1957,
in __init__
聽聽聽聽_wxStart(self.OnInit)
聽聽File "digitizer.py", line 237, in OnInit
聽聽聽聽frame = AppFrame(wx.NULL, -1, "Digitizer")
聽聽File "digitizer.py", line 233, in __init__
聽聽聽聽self.client = DigitizerWindow(self)
聽聽File "digitizer.py", line 100, in __init__
聽聽聽聽self.OnSize(None)
聽聽File "digitizer.py", line 209, in OnSize
聽聽聽聽img.Rescale(sz[0], sz[1])
聽聽File "C:\PROGRA~1\Python23\lib\site-packages\wxPython\image.py", line 212,
in Rescale
聽聽聽聽val = imagec.wxImage_Rescale(self, *_args, **_kwargs)
wxPython.wxc.wxPyAssertionError: C++ assertion "wxAssertFailure" failed in
e:\Projects\wx2.4\src\common\image.cpp(322): invalid new image size
08:05:47: Debug: e:\Projects\wx2.4\src\msw\app.cpp(439):
'UnregisterClass(canvas)' failed with error 0x00000584 (diese Klasse hat
noch ge枚ffnete Fenster.).
Maybe there is another problem with your program which you cannot reproduce
on your machine. I'm using python 2.3.2 on WinXP.
But i think that Robin just gave you the answer for your initial questions.
Regards
Oliver
路路路
-----Urspr眉ngliche Nachricht-----
Von: Serge Boiko [mailto:boiko@demogr.mpg.de]
Gesendet: Dienstag, 4. November 2003 02:26
An: wxPython-users@lists.wxwindows.org
Betreff: [wxPython-users] using backround image for painting: postscriptum
Me again, please comment line 95 in digitizer.py
(#wx.EVT_ERASE_BACKGROUND(self, self.OnEraseBackground)) , otherwise you get
an error.
Sorry and many thanks 
S
+++++
This mail has been sent through the MPI for Demographic Research. Should
you receive a mail that is apparently from a MPI user without this text
displayed, then the address has most likely been faked. If you are
uncertain about the validity of this message, please check the mail header
or ask your system administrator for assistance.
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org