[GRASS-SVN] r35804 - grass/branches/releasebranch_6_4/gui/wxpython/vdigit

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 8 10:01:36 EST 2009


Author: martinl
Date: 2009-02-08 10:01:36 -0500 (Sun, 08 Feb 2009)
New Revision: 35804

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/vdigit/digit.cpp
   grass/branches/releasebranch_6_4/gui/wxpython/vdigit/digit.h
Log:
wxGUI/vdigit: type-safety (first step)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/vdigit/digit.cpp
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/vdigit/digit.cpp	2009-02-08 14:49:46 UTC (rev 35803)
+++ grass/branches/releasebranch_6_4/gui/wxpython/vdigit/digit.cpp	2009-02-08 15:01:36 UTC (rev 35804)
@@ -23,10 +23,10 @@
    \param driver display driver instance
    \param window parent window for message dialog
 */
-Digit::Digit(DisplayDriver *ddriver, void *window)
+Digit::Digit(DisplayDriver *ddriver, wxWindow *window)
 {
     display = ddriver;
-    display->parentWin = (wxWindow *) window;
+    display->parentWin = window;
 
     if (display->mapInfo) {
 	InitCats();

Modified: grass/branches/releasebranch_6_4/gui/wxpython/vdigit/digit.h
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/vdigit/digit.h	2009-02-08 14:49:46 UTC (rev 35803)
+++ grass/branches/releasebranch_6_4/gui/wxpython/vdigit/digit.h	2009-02-08 15:01:36 UTC (rev 35804)
@@ -44,7 +44,7 @@
     int RemoveActionFromChangeset(int, action_type, int);
 
 public:
-    Digit(DisplayDriver *, void *);
+    Digit(DisplayDriver *, wxWindow *);
     ~Digit();
 
     int InitCats();



More information about the grass-commit mailing list