call event.Enable(true) in OnUpdateFileOpen and OnUpdateFileNew only if there are...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 14 Jan 2009 15:25:05 +0000 (15:25 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 14 Jan 2009 15:25:05 +0000 (15:25 +0000)
commit84cae69a8b6530450d37bd25e5190e8f963750bb
tree1cee2aab9fa3eec4eac64918fed3dffc9738bccd
parent488addd58a902c3c5b713c6f81721e39c5779693
call event.Enable(true) in OnUpdateFileOpen and OnUpdateFileNew only if there are templates in the doc manager (closes #10163)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/docview.cpp