DXF: ensure "C" language environment.
This commit is contained in:
parent
a3dfd2c0dd
commit
949b4754e5
|
@ -47,6 +47,7 @@
|
||||||
#include <class_edge_mod.h>
|
#include <class_edge_mod.h>
|
||||||
#include <class_pcb_text.h>
|
#include <class_pcb_text.h>
|
||||||
#include <class_text_mod.h>
|
#include <class_text_mod.h>
|
||||||
|
#include "common.h"
|
||||||
#include <drw_base.h>
|
#include <drw_base.h>
|
||||||
|
|
||||||
// minimum bulge value before resorting to a line segment;
|
// minimum bulge value before resorting to a line segment;
|
||||||
|
@ -91,6 +92,7 @@ int DXF2BRD_CONVERTER::mapDim( double aDxfValue )
|
||||||
|
|
||||||
bool DXF2BRD_CONVERTER::ImportDxfFile( const wxString& aFile )
|
bool DXF2BRD_CONVERTER::ImportDxfFile( const wxString& aFile )
|
||||||
{
|
{
|
||||||
|
LOCALE_IO locale;
|
||||||
dxfRW* dxf = new dxfRW( aFile.ToUTF8() );
|
dxfRW* dxf = new dxfRW( aFile.ToUTF8() );
|
||||||
bool success = dxf->read( this, true );
|
bool success = dxf->read( this, true );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue