Преглед изворни кода

wxGUI: fix DrawBitmap

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@36981 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa пре 16 година
родитељ
комит
9e98b26c8e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      gui/wxpython/gui_modules/mapdisp_window.py

+ 1 - 1
gui/wxpython/gui_modules/mapdisp_window.py

@@ -286,7 +286,7 @@ class BufferedWindow(MapWindow, wx.Window):
         if pdctype == 'image': # draw selected image
             bitmap = wx.BitmapFromImage(img)
             w,h = bitmap.GetSize()
-            pdc.DrawBitmap(bitmap, wx.Point(coords[0], coords[1]), True) # draw the composite map
+            pdc.DrawBitmap(bitmap, coords[0], coords[1], True) # draw the composite map
             pdc.SetIdBounds(drawid, wx.Rect(coords[0],coords[1], w, h))
 
         elif pdctype == 'box': # draw a box on top of the map