--- a/ChuiEdit.cpp
+++ b/ChuiEdit.cpp
@@ -10,6 +10,7 @@
 #include "options.h"
 #include "ChuiEdit.h"
 #include "tbg.h"
+#include "MyFileDialog.h"
 
 #ifdef _DEBUG
 #define new DEBUG_NEW
@@ -558,7 +559,7 @@
   
   res=OFN_FILEMUSTEXIST|OFN_ENABLESIZING|OFN_EXPLORER;
   if(readonly) res|=OFN_READONLY;  
-  CFileDialog m_getfiledlg(TRUE, "chu", makeitemname(".chu",0), res, szFilter);
+  CMyFileDialog m_getfiledlg(TRUE, "chu", makeitemname(".chu",0), res, szFilter);
 
 restart:  
   if( m_getfiledlg.DoModal() == IDOK )
@@ -629,7 +630,7 @@
     return;
   }
   res=OFN_HIDEREADONLY|OFN_ENABLESIZING|OFN_EXPLORER;
-  CFileDialog m_getfiledlg(FALSE, "chu", makeitemname(".chu",0), res, szFilter);
+  CMyFileDialog m_getfiledlg(FALSE, "chu", makeitemname(".chu",0), res, szFilter);
 
   if(save)
   {