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:
+4
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user