//---------------------------------- // Init Dialog //---------------------------------- BOOL ProjWin::EvInitDialog(HWND hWndFocus) { BOOL RetValue = TDialog::EvInitDialog(hWndFocus); WinSetParent(HWindow, HWND_DESKTOP,0); //Must Be Here too ReloadFile(); return(RetValue); }
void CViewContainer::SetWrapLines(bool a_wrap) { if(m_wrapLines == a_wrap) return; m_wrapLines = a_wrap; ReloadFile(); }
bool nwxXmlPersist::CheckFileModification(bool bReload) { bool bRtn = false; if(m_dtFileModTime.GetTicks() > 0) { wxFileName fn(GetLastFileName()); bRtn = fn.FileExists() && (fn.GetModificationTime() != m_dtFileModTime); if(bRtn && bReload) { bRtn = ReloadFile(); } } return bRtn; }