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:
parent
71b1eafc4e
commit
cd900c5961
@ -19,13 +19,14 @@ See \helpref{XML-based resource system overview}{xrcoverview} for details.
|
||||
|
||||
<wx/xrc/xmlres.h>
|
||||
|
||||
\wxheading{Data structures}
|
||||
\wxheading{Constants}
|
||||
|
||||
\begin{verbatim}
|
||||
enum wxXmlResourceFlags
|
||||
{
|
||||
wxXRC_USE_LOCALE = 1,
|
||||
wxXRC_NO_SUBCLASSING = 2
|
||||
wxXRC_NO_SUBCLASSING = 2,
|
||||
wxXRC_NO_RELOADING = 4
|
||||
};
|
||||
\end{verbatim}
|
||||
|
||||
@ -50,7 +51,9 @@ Constructor.
|
||||
|
||||
\docparam{flags}{wxXRC\_USE\_LOCALE: translatable strings will be translated via \_().
|
||||
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}
|
||||
|
||||
|
@ -104,6 +104,9 @@ public:
|
||||
// wxXRC_NO_SUBCLASSING
|
||||
// subclass property of object nodes will be ignored
|
||||
// (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);
|
||||
|
||||
// Constructor.
|
||||
|
Loading…
Reference in New Issue
Block a user