]> git.saurik.com Git - wxWidgets.git/blame - include/wx/meta/int2type.h
simplify native textcontrol creations, adding search control for cocoa
[wxWidgets.git] / include / wx / meta / int2type.h
CommitLineData
0fb0ecc4
VZ
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
4f927337
VS
11#ifndef _WX_META_INT2TYPE_H_
12#define _WX_META_INT2TYPE_H_
0fb0ecc4
VZ
13
14template <int N>
15struct wxInt2Type { enum { value=N }; };
16
4f927337 17#endif // _WX_META_INT2TYPE_H_