commented and documented wxXRC_NO_RELOADING flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -19,13 +19,14 @@ See \helpref{XML-based resource system overview}{xrcoverview} for details.
|
|||||||
|
|
||||||
<wx/xrc/xmlres.h>
|
<wx/xrc/xmlres.h>
|
||||||
|
|
||||||
\wxheading{Data structures}
|
\wxheading{Constants}
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
enum wxXmlResourceFlags
|
enum wxXmlResourceFlags
|
||||||
{
|
{
|
||||||
wxXRC_USE_LOCALE = 1,
|
wxXRC_USE_LOCALE = 1,
|
||||||
wxXRC_NO_SUBCLASSING = 2
|
wxXRC_NO_SUBCLASSING = 2,
|
||||||
|
wxXRC_NO_RELOADING = 4
|
||||||
};
|
};
|
||||||
\end{verbatim}
|
\end{verbatim}
|
||||||
|
|
||||||
@@ -50,7 +51,9 @@ Constructor.
|
|||||||
|
|
||||||
\docparam{flags}{wxXRC\_USE\_LOCALE: translatable strings will be translated via \_().
|
\docparam{flags}{wxXRC\_USE\_LOCALE: translatable strings will be translated via \_().
|
||||||
wxXRC\_NO\_SUBCLASSING: subclass property of object nodes will be ignored
|
wxXRC\_NO\_SUBCLASSING: subclass property of object nodes will be ignored
|
||||||
(useful for previews in XRC editors).}
|
(useful for previews in XRC editors). wxXRC\_NO\_RELOADING will prevent the
|
||||||
|
XRC files from being reloaded from disk in case they have been modified there
|
||||||
|
since being last loaded (may slightly speed up loading them).}
|
||||||
|
|
||||||
\membersection{wxXmlResource::\destruct{wxXmlResource}}\label{wxxmlresourcedtor}
|
\membersection{wxXmlResource::\destruct{wxXmlResource}}\label{wxxmlresourcedtor}
|
||||||
|
|
||||||
|
@@ -104,6 +104,9 @@ public:
|
|||||||
// wxXRC_NO_SUBCLASSING
|
// wxXRC_NO_SUBCLASSING
|
||||||
// subclass property of object nodes will be ignored
|
// subclass property of object nodes will be ignored
|
||||||
// (useful for previews in XRC editors)
|
// (useful for previews in XRC editors)
|
||||||
|
// wxXRC_NO_RELOADING
|
||||||
|
// don't check the modification time of the XRC files and
|
||||||
|
// reload them if they have changed on disk
|
||||||
wxXmlResource(int flags = wxXRC_USE_LOCALE);
|
wxXmlResource(int flags = wxXRC_USE_LOCALE);
|
||||||
|
|
||||||
// Constructor.
|
// Constructor.
|
||||||
|
Reference in New Issue
Block a user