added wxXmlResource::SetFlags as per wxWorkshop team's request
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -228,7 +228,9 @@ public:
|
||||
static wxXmlResource *Set(wxXmlResource *res);
|
||||
|
||||
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
|
||||
int GetFlags() { return m_flags; }
|
||||
int GetFlags() const { return m_flags; }
|
||||
// Set flags after construction.
|
||||
void SetFlags(int flags) { m_flags = flags; }
|
||||
|
||||
protected:
|
||||
// Scans the resources list for unloaded files and loads them. Also reloads
|
||||
|
@@ -229,6 +229,12 @@ Loads a toolbar.
|
||||
|
||||
Sets the global resources object and returns a pointer to the previous one (may be NULL).
|
||||
|
||||
\membersection{wxXmlResource::SetFlags}\label{wxxmlresourcesetflags}
|
||||
|
||||
\func{int}{SetFlags}{\void}
|
||||
|
||||
Sets flags (bitlist of wxXRC\_USE\_LOCALE and wxXRC\_NO\_SUBCLASSING).
|
||||
|
||||
\membersection{wxXmlResource::UpdateResources}\label{wxxmlresourceupdateresources}
|
||||
|
||||
\func{void}{UpdateResources}{\void}
|
||||
|
@@ -228,7 +228,9 @@ public:
|
||||
static wxXmlResource *Set(wxXmlResource *res);
|
||||
|
||||
// Returns flags, which may be a bitlist of wxXRC_USE_LOCALE and wxXRC_NO_SUBCLASSING.
|
||||
int GetFlags() { return m_flags; }
|
||||
int GetFlags() const { return m_flags; }
|
||||
// Set flags after construction.
|
||||
void SetFlags(int flags) { m_flags = flags; }
|
||||
|
||||
protected:
|
||||
// Scans the resources list for unloaded files and loads them. Also reloads
|
||||
|
Reference in New Issue
Block a user