X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32ac755d4a48496ecea17a50c216d44078f8dc8b..04392d70b9f3774176d0d598683f1bed27e6c9c3:/src/common/layout.cpp diff --git a/src/common/layout.cpp b/src/common/layout.cpp index 441a1217c0..e11c18f3f2 100644 --- a/src/common/layout.cpp +++ b/src/common/layout.cpp @@ -16,6 +16,7 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- + #ifdef __GNUG__ #pragma implementation "layout.h" #endif @@ -24,17 +25,21 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ - #pragma hdrstop + #pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include "wx/defs.h" #endif -#include "wx/defs.h" +#if wxUSE_CONSTRAINTS #ifndef WX_PRECOMP - #include "wx/window.h" - #include "wx/utils.h" - #include "wx/dialog.h" - #include "wx/msgdlg.h" - #include "wx/intl.h" + #include "wx/window.h" + #include "wx/utils.h" + #include "wx/dialog.h" + #include "wx/msgdlg.h" + #include "wx/intl.h" #endif #include "wx/layout.h" @@ -1762,3 +1767,4 @@ wxSpacingSizer::~wxSpacingSizer() { } +#endif // wxUSE_CONSTRAINTS