//EEDxx2.4 DEBuG
// wxLogDebug("Saving parameters to file " + nw);
-
- if( os==NULL )
+
+//EED2016-12-22
+// if( os==NULL )
+ if( os.is_open()==false )
{
wxString errorMsg;
errorMsg= _T("Error : Cannot open file ")+nw+_T(" to save parameters");
//EEDxx2.4 DEBuG
// wxLogDebug("Laoding parameters from file " + nr);
- if( is==NULL )
+
+//EED 2016-12-22
+// if( is==NULL )
+ if( is.is_open()==false )
{
wxString errorMsg;
errorMsg= _T("Error : Cannot open file ")+nr+_T(" to load parameters");