]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/window.h
Fix destruction of wxDataViewCtrl's editor control.
[wxWidgets.git] / include / wx / window.h
index 774be3539d61f03bfd1a7fccfd999c76b8183a71..7a15b0bee7f5e9b65261d1d843ae6c2c50735906 100644 (file)
@@ -740,6 +740,10 @@ public:
         // is this window a top level one?
     virtual bool IsTopLevel() const;
 
+        // is this window a child or grand child of this one (inside the same
+        // TLW)?
+    bool IsDescendant(wxWindowBase* win) const;
+
         // it doesn't really change parent, use Reparent() instead
     void SetParent( wxWindowBase *parent ) { m_parent = (wxWindow *)parent; }
         // change the real parent of this window, return true if the parent