X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/735dec5e62b81766cd2c41884043f3407fb6d13c..a69476643b44e06bab1090a92a29ce4faeb5402d:/include/wx/layout.h 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