X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/735dec5e62b81766cd2c41884043f3407fb6d13c..d8f2f99ff72b7aa656765799936f0a1038cf3a8b:/include/wx/layout.h diff --git a/include/wx/layout.h b/include/wx/layout.h index 2af9f146a8..62655782b8 100644 --- a/include/wx/layout.h +++ b/include/wx/layout.h @@ -71,7 +71,7 @@ public: // note that default copy ctor and assignment operators are ok - ~wxIndividualLayoutConstraint(){} + virtual ~wxIndividualLayoutConstraint(){} void Set(wxRelationship rel, wxWindowBase *otherW, wxEdge otherE, int val = 0, int marg = wxLAYOUT_DEFAULT_MARGIN); @@ -174,7 +174,7 @@ public: // note that default copy ctor and assignment operators are ok - ~wxLayoutConstraints(){} + virtual ~wxLayoutConstraints(){} bool SatisfyConstraints(wxWindowBase *win, int *noChanges); bool AreSatisfied() const