debugging printfs

This commit is contained in:
dickelbeck 2008-02-20 19:12:36 +00:00
parent 951e759fd1
commit 708a394c64
1 changed files with 31 additions and 19 deletions

View File

@ -30,6 +30,7 @@
#include "fctsys.h"
#include "common.h"
#include "wxstruct.h"
#include "macros.h"
// Path list for online help
@ -306,6 +307,17 @@ wxString EDA_FileSelector( const wxString& Title, /* Dialog ti
wxSetWorkingDirectory( defaultpath );
#if 0 && defined(DEBUG)
printf("defaultpath=\"%s\" defaultname=\"%s\" Ext=\"%s\" Mask=\"%s\" flag=%d keep_working_directory=%d\n",
CONV_TO_UTF8(defaultpath),
CONV_TO_UTF8(defaultname),
CONV_TO_UTF8(Ext),
CONV_TO_UTF8(Mask),
flag,
keep_working_directory
);
#endif
fullfilename = wxFileSelector( wxString( Title ),
defaultpath,
defaultname,