summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
31ad423)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28274
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
enum wxXmlResourceFlags
{
wxXRC_USE_LOCALE = 1,
enum wxXmlResourceFlags
{
wxXRC_USE_LOCALE = 1,
- wxXRC_NO_SUBCLASSING = 2
+ wxXRC_NO_SUBCLASSING = 2,
+ wxXRC_NO_RELOADING = 4
};
// This class holds XML resources from one or more .xml files
};
// This class holds XML resources from one or more .xml files
{
modif = (m_data[i].Doc == NULL);
{
modif = (m_data[i].Doc == NULL);
+ if (!modif && !(m_flags & wxXRC_NO_RELOADING))
{
# if wxUSE_FILESYSTEM
file = fsys.OpenFile(m_data[i].File);
{
# if wxUSE_FILESYSTEM
file = fsys.OpenFile(m_data[i].File);
+ wxLogTrace(_T("xrc"),
+ _T("opening file '%s'"), m_data[i].File.c_str());
+
wxInputStream *stream = NULL;
# if wxUSE_FILESYSTEM
wxInputStream *stream = NULL;
# if wxUSE_FILESYSTEM
enum wxXmlResourceFlags
{
wxXRC_USE_LOCALE = 1,
enum wxXmlResourceFlags
{
wxXRC_USE_LOCALE = 1,
- wxXRC_NO_SUBCLASSING = 2
+ wxXRC_NO_SUBCLASSING = 2,
+ wxXRC_NO_RELOADING = 4
};
// This class holds XML resources from one or more .xml files
};
// This class holds XML resources from one or more .xml files
{
modif = (m_data[i].Doc == NULL);
{
modif = (m_data[i].Doc == NULL);
+ if (!modif && !(m_flags & wxXRC_NO_RELOADING))
{
# if wxUSE_FILESYSTEM
file = fsys.OpenFile(m_data[i].File);
{
# if wxUSE_FILESYSTEM
file = fsys.OpenFile(m_data[i].File);
+ wxLogTrace(_T("xrc"),
+ _T("opening file '%s'"), m_data[i].File.c_str());
+
wxInputStream *stream = NULL;
# if wxUSE_FILESYSTEM
wxInputStream *stream = NULL;
# if wxUSE_FILESYSTEM