X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..212945de56735f132840608abc888d2ead3d2308:/include/wx/layout.h 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