]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ifacecheck/src/xmlparser.h
don't use gtk_notebook_insert_page() return value as some old GTK+ versions (the...
[wxWidgets.git] / utils / ifacecheck / src / xmlparser.h
index 4baa76de1c5578f44a0d2decafa6bae655594f27..a002f4244d74b37c847de5c375712a3357a154b5 100644 (file)
@@ -84,6 +84,9 @@ public:
     wxString GetDefaultValue() const
         { return m_strDefaultValue; }
 
+    bool HasDefaultValue() const
+        { return !m_strDefaultValue.IsEmpty(); }
+
     bool operator==(const wxArgumentType& m) const;
     bool operator!=(const wxArgumentType& m) const
         { return !(*this == m); }
@@ -165,7 +168,10 @@ public:     // setters
     void SetVirtual(bool c = true)
         { m_bVirtual=c; }
     void SetPureVirtual(bool c = true)
-        { m_bPureVirtual=c; }
+        {
+            m_bPureVirtual=c;
+            if (c) m_bVirtual=c;        // pure virtual => virtual
+        }
     void SetDeprecated(bool c = true)
         { m_bDeprecated=c; }
     void SetLocation(int lineNumber)
@@ -288,6 +294,9 @@ public:
             return methods;
         }
 
+    // pass a full-path header filename:
+    wxClassPtrArray FindClassesDefinedIn(const wxString& headerfile) const;
+
     void ShowProgress()
         { /*wxPrint(".");*/ }