import_gfx: Make file selection case-insensitive

This adds the upper-case version of files names to the selection box for
filesystems that support case-sensitive file names.

Fixes: lp:1832853
* https://bugs.launchpad.net/kicad/+bug/1832853

(cherry picked from commit 36f70704eb)
This commit is contained in:
Seth Hillbrand
2019-07-10 10:32:48 -07:00
parent 40ba502853
commit ea467441d2
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -148,6 +148,7 @@ public:
{
wxArrayString list;
list.Add( "dxf" );
list.Add( "DXF" );
return list;
}
+2 -2
View File
@@ -62,7 +62,7 @@ public:
/**
* Return a list of wildcards that contains the file extensions
* handled by this plugin, separated with a coma.
* handled by this plugin, separated with a semi-colon.
*/
wxString GetWildcards() const
{
@@ -74,7 +74,7 @@ public:
if( first )
first = false;
else
ret += ", ";
ret += ";";
ret += "*." + extension;
}
+1
View File
@@ -46,6 +46,7 @@ public:
{
wxArrayString list;
list.Add( "svg" );
list.Add( "SVG" );
return list;
}