[GRASS-SVN] r36252 - grass/trunk/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Mar 8 09:29:55 EDT 2009


Author: martinl
Date: 2009-03-08 09:29:55 -0400 (Sun, 08 Mar 2009)
New Revision: 36252

Modified:
   grass/trunk/gui/wxpython/vdigit/pseudodc.i
Log:
wxGUI/vdigit: revert previous changes to allow compiling without gcdc (trac #525)


Modified: grass/trunk/gui/wxpython/vdigit/pseudodc.i
===================================================================
--- grass/trunk/gui/wxpython/vdigit/pseudodc.i	2009-03-08 13:12:39 UTC (rev 36251)
+++ grass/trunk/gui/wxpython/vdigit/pseudodc.i	2009-03-08 13:29:55 UTC (rev 36252)
@@ -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