added wxXRC_NO_RELOADING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -343,7 +343,7 @@ bool wxXmlResource::UpdateResources()
|
||||
{
|
||||
modif = (m_data[i].Doc == NULL);
|
||||
|
||||
if (!modif)
|
||||
if (!modif && !(m_flags & wxXRC_NO_RELOADING))
|
||||
{
|
||||
# if wxUSE_FILESYSTEM
|
||||
file = fsys.OpenFile(m_data[i].File);
|
||||
@@ -362,6 +362,9 @@ bool wxXmlResource::UpdateResources()
|
||||
|
||||
if (modif)
|
||||
{
|
||||
wxLogTrace(_T("xrc"),
|
||||
_T("opening file '%s'"), m_data[i].File.c_str());
|
||||
|
||||
wxInputStream *stream = NULL;
|
||||
|
||||
# if wxUSE_FILESYSTEM
|
||||
|
Reference in New Issue
Block a user