Index: src/ch/FolderDialog.h =================================================================== diff -u -N -r8b7479db2ee71a3d00779c67fe6a1b1d9ec414b8 -rcb4e9d4b60d62b25ae2cf556c0642601af56c787 --- src/ch/FolderDialog.h (.../FolderDialog.h) (revision 8b7479db2ee71a3d00779c67fe6a1b1d9ec414b8) +++ src/ch/FolderDialog.h (.../FolderDialog.h) (revision cb4e9d4b60d62b25ae2cf556c0642601af56c787) @@ -44,7 +44,7 @@ { // Construction public: - CFolderDialog(CWnd* pParent = NULL); // standard constructor + explicit CFolderDialog(CWnd* pParent = NULL); // standard constructor virtual ~CFolderDialog(); // Dialog Data @@ -66,20 +66,16 @@ // structure used for passing parameters struct BROWSEDATA { - BROWSEDATA() { cx=0; cy=0; iView=2; bExtended=false; }; -// BROWSEDATA& operator=(const BROWSEDATA& data) { strCaption=data.strCaption; strText=data.strText; strInitialDir=data.strInitialDir; astrRecent.Copy(data.astrRecent); -// ascShortcuts.Copy(data.ascShortcuts); cx=data.cx; cy=data.cy; iView=data.iView; bExtended=data.bExtended; return *this;}; - CString strCaption; CString strText; CString strInitialDir; std::vector cvRecent; std::vector cvShortcuts; - int cx, cy; // pixels - int iView; // type of view (large icons, small icons, ...) - bool bExtended; // with the shortcuts or not - bool bIgnoreDialogs; // if tree ctrl should show shell dialogs in style 'insert floppy' + int cx = 0, cy = 0; // pixels + int iView = 2; // type of view (large icons, small icons, ...) + bool bExtended = false; // with the shortcuts or not + bool bIgnoreDialogs = true; // if tree ctrl should show shell dialogs in style 'insert floppy' } m_bdData; // getting path - after dialog exits