]> git.saurik.com Git - wxWidgets.git/blob - include/wx/meta/int2type.h
simplify native textcontrol creations, adding search control for cocoa
[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 // RCS-ID: $Id$
7 // Copyright: (c) 2008 Arne Steinarson
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_META_INT2TYPE_H_
12 #define _WX_META_INT2TYPE_H_
13
14 template <int N>
15 struct wxInt2Type { enum { value=N }; };
16
17 #endif // _WX_META_INT2TYPE_H_