[GRASS-SVN] r40030 - grass/trunk/gui/wxpython/vdigit
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 16 16:07:29 EST 2009
Author: martinl
Date: 2009-12-16 16:07:28 -0500 (Wed, 16 Dec 2009)
New Revision: 40030
Modified:
grass/trunk/gui/wxpython/vdigit/digit.cpp
grass/trunk/gui/wxpython/vdigit/driver.cpp
grass/trunk/gui/wxpython/vdigit/line.cpp
grass/trunk/gui/wxpython/vdigit/message.cpp
Log:
wxGUI/vdigit: minor fixes
Modified: grass/trunk/gui/wxpython/vdigit/digit.cpp
===================================================================
--- grass/trunk/gui/wxpython/vdigit/digit.cpp 2009-12-16 20:20:53 UTC (rev 40029)
+++ grass/trunk/gui/wxpython/vdigit/digit.cpp 2009-12-16 21:07:28 UTC (rev 40030)
@@ -12,17 +12,21 @@
\author Martin Landa <landa.martin gmail.com>
*/
+extern "C" {
+#include <grass/glocale.h>
+}
+
#include "driver.h"
#include "digit.h"
-#ifdef _WIN32
+#if defined _WIN32 && defined MSVC_VER
#ifndef _CPPRTTI
#error "compile with /GR!"
#endif
#endif
/**
- \brief Initialize digit interface used by SWIG
+ \brief Initialize digit interface
\param driver display driver instance
\param window parent window for message dialog
Modified: grass/trunk/gui/wxpython/vdigit/driver.cpp
===================================================================
--- grass/trunk/gui/wxpython/vdigit/driver.cpp 2009-12-16 20:20:53 UTC (rev 40029)
+++ grass/trunk/gui/wxpython/vdigit/driver.cpp 2009-12-16 21:07:28 UTC (rev 40030)
@@ -15,6 +15,7 @@
\author Martin Landa <landa.martin gmail.com>
*/
+#include <unistd.h>
#include <cmath>
#include "driver.h"
Modified: grass/trunk/gui/wxpython/vdigit/line.cpp
===================================================================
--- grass/trunk/gui/wxpython/vdigit/line.cpp 2009-12-16 20:20:53 UTC (rev 40029)
+++ grass/trunk/gui/wxpython/vdigit/line.cpp 2009-12-16 21:07:28 UTC (rev 40030)
@@ -15,7 +15,9 @@
extern "C" {
#include <grass/vedit.h>
#include <grass/dbmi.h>
+#include <grass/glocale.h>
}
+
#include "driver.h"
#include "digit.h"
Modified: grass/trunk/gui/wxpython/vdigit/message.cpp
===================================================================
--- grass/trunk/gui/wxpython/vdigit/message.cpp 2009-12-16 20:20:53 UTC (rev 40029)
+++ grass/trunk/gui/wxpython/vdigit/message.cpp 2009-12-16 21:07:28 UTC (rev 40030)
@@ -12,6 +12,10 @@
\author Martin Landa <landa.martin gmail.com>
*/
+extern "C" {
+#include <grass/glocale.h>
+}
+
#include "driver.h"
#include "digit.h"
More information about the grass-commit
mailing list