]> git.saurik.com Git - wxWidgets.git/blame - include/wx/meta/int2type.h
wxMessageBox off the main thread lost result code.
[wxWidgets.git] / include / wx / meta / int2type.h
CommitLineData
0fb0ecc4
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/meta/int2type.h
03647350 3// Purpose: Generate a unique type from a constant integer
0fb0ecc4
VZ
4// Author: Arne Steinarson
5// Created: 2008-01-10
0fb0ecc4
VZ
6// Copyright: (c) 2008 Arne Steinarson
7// Licence: wxWindows licence
8/////////////////////////////////////////////////////////////////////////////
9
4f927337
VS
10#ifndef _WX_META_INT2TYPE_H_
11#define _WX_META_INT2TYPE_H_
0fb0ecc4
VZ
12
13template <int N>
14struct wxInt2Type { enum { value=N }; };
15
4f927337 16#endif // _WX_META_INT2TYPE_H_