1 // OpenDoc.cpp : implementation file
7 #include "OptionsDef.h"
8 #include "OptionsMgr.h"
13 IMPLEMENT_DYNCREATE(COpenDoc, CDocument)
15 COpenDoc::COpenDoc() :
22 BOOL COpenDoc::OnNewDocument()
24 if (!CDocument::OnNewDocument())
33 void COpenDoc::RefreshOptions()
35 m_bRecurse = GetOptionsMgr()->GetBool(OPT_CMP_INCLUDE_SUBDIRS);
36 UpdateAllViews(nullptr);
40 * @brief Update any resources necessary after a GUI language change
42 void COpenDoc::UpdateResources()
44 SetTitle(_("Select Files or Folders").c_str());
45 POSITION pos = GetFirstViewPosition();
46 COpenView *pView = static_cast<COpenView *>(GetNextView(pos));
47 pView->UpdateResources();
50 BEGIN_MESSAGE_MAP(COpenDoc, CDocument)