X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b85e0ae0a1b4be0c9c0514c706c586c5cb7df2e7..c40555e948e48d5c10f30d0c83b2c7702d23fa8e:/include/wx/xrc/xmlres.h?ds=sidebyside

diff --git a/include/wx/xrc/xmlres.h b/include/wx/xrc/xmlres.h
index 6146f5956f..8bffb9f548 100644
--- a/include/wx/xrc/xmlres.h
+++ b/include/wx/xrc/xmlres.h
@@ -17,6 +17,7 @@
 
 #include "wx/string.h"
 #include "wx/dynarray.h"
+#include "wx/arrstr.h"
 #include "wx/datetime.h"
 #include "wx/list.h"
 #include "wx/gdicmn.h"
@@ -107,8 +108,6 @@ public:
     // Destructor.
     virtual ~wxXmlResource();
 
-    wxXmlNode *GetFirstRoot();
-
     // Loads resources from XML files that match given filemask.
     // This method understands VFS (see filesys.h).
     bool Load(const wxString& filemask);
@@ -461,6 +460,10 @@ protected:
     // Gets a font.
     wxFont GetFont(const wxString& param = wxT("font"));
 
+    // Gets the value of a boolean attribute (only "0" and "1" are valid values)
+    bool GetBoolAttr(const wxString& attr, bool defaultv);
+
+
     // Sets common window options.
     void SetupWindow(wxWindow *wnd);