fix bug created by my commit 04aeec12

This commit is contained in:
jean-pierre charras 2018-12-12 21:34:27 +01:00
parent 04aeec1223
commit aefb1f62e7
2 changed files with 7 additions and 5 deletions

View File

@ -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,

View File

@ -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;
/**