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