KIWAY::player_destroy_handler() skips on the wxWindowDestroyEvent, just in case

This commit is contained in:
Dick Hollenbeck 2014-07-17 09:10:15 -05:00
parent 9ecb10996c
commit 6da86c12de
3 changed files with 10 additions and 3 deletions

View File

@ -74,7 +74,7 @@ void KIWAY::player_destroy_handler( wxWindowDestroyEvent& event )
} }
} }
// event.Skip(); skip to who, the wxApp? I'm the top window. event.Skip(); // skip to who, the wxApp? I'm the top window.
} }

View File

@ -37,7 +37,6 @@
#include <typeinfo> #include <typeinfo>
#include <macros.h> #include <macros.h>
#include <fctsys.h> #include <fctsys.h>
#include <wx/dynlib.h>
#include <wx/filename.h> #include <wx/filename.h>
#include <wx/stdpaths.h> #include <wx/stdpaths.h>
#include <wx/snglinst.h> #include <wx/snglinst.h>

View File

@ -114,6 +114,10 @@ detect_pretty_repos()
| sed -r 's:.+ "KiCad/(.+)",:\1:'` | sed -r 's:.+ "KiCad/(.+)",:\1:'`
#echo "PRETTY_REPOS:$PRETTY_REPOS" #echo "PRETTY_REPOS:$PRETTY_REPOS"
PRETTY_REPOS=`echo $PRETTY_REPOS | tr " " "\n" | sort`
#echo "PRETTY_REPOS sorted:$PRETTY_REPOS"
} }
@ -226,9 +230,13 @@ if [ $# -eq 1 -a "$1" == "--list-libraries" ]; then
detect_pretty_repos detect_pretty_repos
# add the "schematic parts & 3D model" kicad-library to total # add the "schematic parts & 3D model" kicad-library to total
for repo in kicad-library $PRETTY_REPOS; do for repo in $PRETTY_REPOS; do
echo "$repo" echo "$repo"
done done
echo
echo "and the special 'kicad-library' which holds 3D stuff and schematic parts"
exit exit
fi fi