[GRASS-SVN] r36253 -
grass/branches/develbranch_6/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Mar 8 09:32:14 EDT 2009
Author: martinl
Date: 2009-03-08 09:32:14 -0400 (Sun, 08 Mar 2009)
New Revision: 36253
Modified:
grass/branches/develbranch_6/gui/wxpython/vdigit/pseudodc.i
Log:
wxGUI/vdigit: revert previous changes to allow compiling without gcdc (trac #525)
(merge from trunk, r36252)
Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/pseudodc.i
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/pseudodc.i 2009-03-08 13:29:55 UTC (rev 36252)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/pseudodc.i 2009-03-08 13:32:14 UTC (rev 36253)
@@ -34,18 +34,12 @@
void SetIdBounds(int, wxRect&);
void DrawLine(const wxPoint&, const wxPoint&);
%extend {
- void DrawToDC(wxBufferedPaintDC *dc) {
+ void DrawToDC(void *dc) {
self->DrawToDC((wxDC *) dc);
}
- void DrawToDC(wxGCDC *dc) {
- self->DrawToDC((wxDC *) dc);
- }
- void DrawToDCClipped(wxBufferedPaintDC *dc, const wxRect& rect) {
+ void DrawToDCClipped(void *dc, const wxRect& rect) {
self->DrawToDCClipped((wxDC *) dc, rect);
}
- void DrawToDCClipped(wxGCDC *dc, const wxRect& rect) {
- self->DrawToDCClipped((wxDC *) dc, rect);
- }
wxRect GetIdBounds(int id) {
wxRect rect;
self->GetIdBounds(id, rect);
More information about the grass-commit
mailing list