Ticket #539 (closed defect: fixed)
Error on "Display Map" in wxpython
| Reported by: | cnielsen | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | major | Milestone: | 6.5.0 |
| Component: | wxGUI | Version: | svn-develbranch6 |
| Keywords: | Cc: | jef@… | |
| Platform: | MSWindows Vista | CPU: | Unspecified |
Description
When I click display map in wxpython, nothing happens. The following error appears in command output: Traceback (most recent call last):
File "c:\Programs\GIS\osgeo4w\apps\grass\grass-6.5.svn\etc
\wxpython\gui_modules\mapdisp.py", line 541, in OnDraw?
self.MapWindow?.UpdateMap?(render=False)
File "c:\Programs\GIS\osgeo4w\apps\grass\grass-6.5.svn\etc
\wxpython\gui_modules\mapdisp_window.py", line 661, in UpdateMap?
self.Draw(self.pdc, self.img, drawid=id)
File "c:\Programs\GIS\osgeo4w\apps\grass\grass-6.5.svn\etc
\wxpython\gui_modules\mapdisp_window.py", line 289, in Draw
pdc.DrawBitmap?(bitmap, wx.Point(coords[0], coords[1]), True) # draw the composite map
File "C:\Programs\GIS\OSGeo4W\apps\Python25\lib\site-
packages\wx-2.8-msw-unicode\wx\_gdi.py", line 7526, in DrawBitmap?
return _gdi_.PseudoDC_DrawBitmap(*args, **kwargs) TypeError? : in method 'PseudoDC_DrawBitmap', expected argument 3 of type 'int'
This is a build of develbranch_6 within the osgeo4w tree on vista.

