DXF export: fix incorrect export of polygons having thick outline (like zones): Thick segments of outline were drawn like lines with no thickness.

Fix ( workaround only) crash (Windows only) when a quasi modal frame (like footprint viewer) was called from a dialog (like the component properties dialog in schematic editor).
Very minor other fixes.
This commit is contained in:
jean-pierre charras
2014-05-15 08:32:24 +02:00
parent a1087801af
commit bb0804ec29
9 changed files with 57 additions and 22 deletions
+4 -4
View File
@@ -59,7 +59,7 @@ static const wxFileTypeInfo EDAfallbacks[] =
};
bool GetAssociatedDocument( wxFrame* aFrame,
bool GetAssociatedDocument( wxWindow* aParent,
const wxString& aDocName,
const wxPathList* aPaths)
@@ -122,7 +122,7 @@ bool GetAssociatedDocument( wxFrame* aFrame,
fullfilename,
extension,
mask,
aFrame,
aParent,
wxFD_OPEN,
true,
wxPoint( -1, -1 ) );
@@ -133,7 +133,7 @@ bool GetAssociatedDocument( wxFrame* aFrame,
if( !wxFileExists( fullfilename ) )
{
msg.Printf( _( "Doc File '%s' not found" ), GetChars( aDocName ) );
DisplayError( aFrame, msg );
DisplayError( aParent, msg );
return false;
}
@@ -176,7 +176,7 @@ bool GetAssociatedDocument( wxFrame* aFrame,
if( !success )
{
msg.Printf( _( "Unknown MIME type for doc file <%s>" ), GetChars( fullfilename ) );
DisplayError( aFrame, msg );
DisplayError( aParent, msg );
}
return success;