X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/735dec5e62b81766cd2c41884043f3407fb6d13c..d5cbee178f213c1bae361abca0113646bf323584:/include/wx/layout.h?ds=sidebyside diff --git a/include/wx/layout.h b/include/wx/layout.h index 2af9f146a8..2691f5d0cd 100644 --- a/include/wx/layout.h +++ b/include/wx/layout.h @@ -32,8 +32,8 @@ // forward declrations // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxWindowBase; -class WXDLLEXPORT wxLayoutConstraints; +class WXDLLIMPEXP_FWD_CORE wxWindowBase; +class WXDLLIMPEXP_FWD_CORE wxLayoutConstraints; // ---------------------------------------------------------------------------- // constants @@ -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