]> git.pld-linux.org Git - packages/spatialite_gis.git/blame - wxWidgets3.patch
- release 5 (by relup.sh)
[packages/spatialite_gis.git] / wxWidgets3.patch
CommitLineData
db6e6d11
JR
1diff -ur spatialite_gis-1.0.0c/Classdef.h spatialite_gis-1.0.0c.wx3/Classdef.h
2--- spatialite_gis-1.0.0c/Classdef.h 2011-12-28 18:37:48.000000000 +0100
3+++ spatialite_gis-1.0.0c.wx3/Classdef.h 2014-01-18 19:14:31.518720315 +0100
4@@ -30,6 +30,7 @@
5 #include "wx/spinctrl.h"
6 #include "wx/listctrl.h"
7 #include "wx/grid.h"
8+#include <wx/graphics.h>
9
10 #ifdef SPATIALITE_AMALGAMATION
11 #include <spatialite/sqlite3.h>
12diff -ur spatialite_gis-1.0.0c/configure.ac spatialite_gis-1.0.0c.wx3/configure.ac
13--- spatialite_gis-1.0.0c/configure.ac 2011-12-28 18:37:48.000000000 +0100
14+++ spatialite_gis-1.0.0c.wx3/configure.ac 2014-01-18 19:26:11.855381913 +0100
15@@ -21,7 +21,7 @@
16
17 CXXFLAGS="$(wx-config --cxxflags)"
18 AM_CXXFLAGS="$(wx-config --cxxflags)"
19-WX_LIBS="$(wx-config --libs)"
20+WX_LIBS="$(wx-config --libs) -lwx_gtk2u_aui-3.0"
21 AC_SUBST(WX_LIBS)
22
23 # Checks for header files.
24diff -ur spatialite_gis-1.0.0c/MapView.cpp spatialite_gis-1.0.0c.wx3/MapView.cpp
25--- spatialite_gis-1.0.0c/MapView.cpp 2011-12-28 18:37:48.000000000 +0100
26+++ spatialite_gis-1.0.0c.wx3/MapView.cpp 2014-01-18 19:22:52.105383358 +0100
27@@ -1160,7 +1160,7 @@
28 if (layer->GetType() == VECTOR_LAYER)
29 {
30 if (layer->GetTableName() == active->GetTableName() &&
31- layer->GetGeometryColumn() && active->GetGeometryColumn())
32+ !layer->GetGeometryColumn().IsEmpty() && !active->GetGeometryColumn().IsEmpty())
33 {
34 // OK: performing Identify
35 Identify(layer, IdentifyMouseX, IdentifyMouseY);
36@@ -1789,7 +1789,7 @@
37 if (layer->GetType() == VECTOR_LAYER)
38 {
39 if (layer->GetTableName() == active->GetTableName() &&
40- layer->GetGeometryColumn() && active->GetGeometryColumn())
41+ !layer->GetGeometryColumn().IsEmpty() && !active->GetGeometryColumn().IsEmpty())
42 {
43 // OK: performing Identify
44 Identify(layer, MouseIdentifyX, MouseIdentifyY);
This page took 0.061385 seconds and 4 git commands to generate.