• R/O
  • SSH
  • HTTPS

molby: Commit


Commit MetaInfo

Revision601 (tree)
Time2016-05-20 09:58:30
Authortoshinagata1964

Log Message

Mac: Modify wxApp::CallOnInit(), because it was causing crash when trying re-open of the last opened documents. This bug was found on 10.8. We should test the modified version on 10.6 (not yet done)

Change Summary

Incremental Difference

--- trunk/wxSources/MyApp.cpp (revision 600)
+++ trunk/wxSources/MyApp.cpp (revision 601)
@@ -534,6 +534,8 @@
534534 void
535535 MyApp::MacNewFile()
536536 {
537+ if (m_docManager == NULL)
538+ return; // Initialization is not yet complete
537539 m_docManager->CreateDocument(_T(""), wxDOC_NEW);
538540 }
539541
Show on old repository browser