Browse Source

fix bug created by my commit 04aeec12

pull/13/head
jean-pierre charras 7 years ago
parent
commit
aefb1f62e7
  1. 4
      polygon/polygon_test_point_inside.cpp
  2. 8
      polygon/polygon_test_point_inside.h

4
polygon/polygon_test_point_inside.cpp

@ -50,7 +50,9 @@
#define OUTSIDE false
#define INSIDE true
#if 0
#if 1 // Will be removed whe deprecated CPOLYGONS_LIST will be rmoved
#include <PolyLine.h>
bool TestPointInsidePolygon( const CPOLYGONS_LIST& aPolysList,
int aIdxstart,
int aIdxend,

8
polygon/polygon_test_point_inside.h

@ -22,19 +22,19 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WXWINDOWS__
#if 1 // Set to 0 to compile outside wxWidgets
#include <wx/gdicmn.h> // for wxPoint definition
#else
// define here wxPoint if we want to compile outside wxWidgets
class wxPoint
{
public:
int x, y;
};
#else
#include <wx/gdicmn.h> // for wxPoint definition
#endif
#if 0
#if 1 // set to 0 when deprecated CPOLYGONS_LIST will be removed
class CPOLYGONS_LIST;
/**

Loading…
Cancel
Save