X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..7615dee740c7141e532e19cb861f3bcc0757db2a:/include/wx/layout.h?ds=inline diff --git a/include/wx/layout.h b/include/wx/layout.h index c46241c1d8..d6ffed803e 100644 --- a/include/wx/layout.h +++ b/include/wx/layout.h @@ -16,7 +16,7 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "layout.h" #endif @@ -73,7 +73,7 @@ public: // note that default copy ctor and assignment operators are ok - ~wxIndividualLayoutConstraint(); + ~wxIndividualLayoutConstraint(){} void Set(wxRelationship rel, wxWindowBase *otherW, wxEdge otherE, int val = 0, int marg = wxLAYOUT_DEFAULT_MARGIN); @@ -176,7 +176,7 @@ public: // note that default copy ctor and assignment operators are ok - ~wxLayoutConstraints(); + ~wxLayoutConstraints(){} bool SatisfyConstraints(wxWindowBase *win, int *noChanges); bool AreSatisfied() const