]> git.saurik.com Git - wxWidgets.git/blob - include/wx/meta/int2type.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / meta / int2type.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/meta/int2type.h
3 // Purpose: Generate a unique type from a constant integer
4 // Author: Arne Steinarson
5 // Created: 2008-01-10
6 // Copyright: (c) 2008 Arne Steinarson
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_META_INT2TYPE_H_
11 #define _WX_META_INT2TYPE_H_
12
13 template <int N>
14 struct wxInt2Type { enum { value=N }; };
15
16 #endif // _WX_META_INT2TYPE_H_