Ticket #26: setDateTime.patch

File setDateTime.patch, 535 bytes (added by olq, 4 years ago)

patch with fix

  • wxdba/wxdba/wxutils.cpp

     
    114114void  
    115115Tools::SetDateTime(dba::Storeable* pObj,wxDateTime& pDest, const wxDateTime& pSrc) { 
    116116  if (pDest.IsValid() && pSrc.IsValid()) { 
    117     if (pDest != pSrc) 
     117    if (pDest != pSrc) { 
    118118      pDest = pSrc; 
    119119      pObj->setChanged(); 
     120    } 
    120121  } else if (!pDest.IsValid() && !pSrc.IsValid()) { 
    121122    //no change 
    122123  } else {