added #if wxUSE_CONSTRAINTS around the whole file (patch 1448826)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-03-31 00:01:11 +00:00
parent b3825734fc
commit 735dec5e62

View File

@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: layout.h // Name: wx/layout.h
// Purpose: Layout classes // Purpose: OBSOLETE layout constraint classes, use sizers instead
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:
// Created: 29/01/98 // Created: 29/01/98
@@ -9,8 +9,8 @@
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#ifndef _WX_LAYOUTH__ #ifndef _WX_LAYOUT_H_
#define _WX_LAYOUTH__ #define _WX_LAYOUT_H_
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// headers // headers
@@ -26,6 +26,8 @@
#undef Below #undef Below
#endif #endif
#if wxUSE_CONSTRAINTS
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// forward declrations // forward declrations
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -184,5 +186,6 @@ public:
DECLARE_DYNAMIC_CLASS(wxLayoutConstraints) DECLARE_DYNAMIC_CLASS(wxLayoutConstraints)
}; };
#endif #endif // wxUSE_CONSTRAINTS
// _WX_LAYOUTH__
#endif // _WX_LAYOUT_H_