[GRASS-SVN] r36983 - grass/trunk/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 4 11:13:50 EDT 2009
Author: martinl
Date: 2009-05-04 11:13:50 -0400 (Mon, 04 May 2009)
New Revision: 36983
Modified:
grass/trunk/gui/wxpython/vdigit/pseudodc.i
Log:
wxGUI: fix local PseudoDC DrawBitmap prototype
Modified: grass/trunk/gui/wxpython/vdigit/pseudodc.i
===================================================================
--- grass/trunk/gui/wxpython/vdigit/pseudodc.i 2009-05-04 15:11:53 UTC (rev 36982)
+++ grass/trunk/gui/wxpython/vdigit/pseudodc.i 2009-05-04 15:13:50 UTC (rev 36983)
@@ -58,8 +58,6 @@
void EndDrawing();
void SetBackground(const wxBrush&);
void SetId(int);
- void DrawBitmap(const wxBitmap&, const wxPoint&,
- bool);
void SetBrush(const wxBrush&);
void SetPen(const wxPen&);
void SetIdBounds(int, wxRect&);
@@ -94,5 +92,9 @@
void DrawRotatedText(const wxString& text, float x, float y, double angle) {
return self->DrawRotatedText(text, (wxCoord) x, (wxCoord) y, angle);
}
+ void DrawBitmap(const wxBitmap& bitmap, float x, float y, bool useMask) {
+ return self->DrawBitmap(bitmap, (wxCoord) x, (wxCoord) y, useMask);
+ }
+
}
};
More information about the grass-commit
mailing list