]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/cpp.h
Fixed and clarified editor control event handling
[wxWidgets.git] / interface / wx / cpp.h
CommitLineData
23324ae1 1/////////////////////////////////////////////////////////////////////////////
7c913512 2// Name: cpp.h
e54c96f1 3// Purpose: interface of global functions
7c913512
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
7fa7088e
BP
9
10/** @ingroup group_funcmacro_misc */
7c913512 11//@{
23324ae1 12/**
7fa7088e
BP
13 This macro returns the concatenation of the arguments passed. Unlike when
14 using the preprocessor operator, the arguments undergo macro expansion
15 before being concatenated.
16
17 @header{wx/cpp.h}
23324ae1 18*/
7fa7088e
BP
19#define wxCONCAT(x1, x2)
20#define wxCONCAT3(x1, x2, x3)
21#define wxCONCAT4(x1, x2, x3, x4)
22#define wxCONCAT5(x1, x2, x3, x4, x5)
23324ae1
FM
23//@}
24
7fa7088e
BP
25/** @ingroup group_funcmacro_misc */
26//@{
23324ae1 27
7c913512 28/**
7fa7088e
BP
29 Returns the string representation of the given symbol which can be either a
30 literal or a macro (hence the advantage of using this macro instead of the
31 standard preprocessor @c # operator which doesn't work with macros).
32
33 Notice that this macro always produces a @c char string, use
34 wxSTRINGIZE_T() to build a wide string Unicode build.
7c913512 35
7fa7088e
BP
36 @see wxCONCAT()
37
38 @header{wx/cpp.h}
23324ae1 39*/
7fa7088e 40#define wxSTRINGIZE(x)
23324ae1
FM
41
42/**
43 Returns the string representation of the given symbol as either an ASCII or
7fa7088e
BP
44 Unicode string, depending on the current build. This is the
45 Unicode-friendly equivalent of wxSTRINGIZE().
46
47 @header{wx/cpp.h}
23324ae1 48*/
7fa7088e
BP
49#define wxSTRINGIZE_T(x)
50
51//@}
23324ae1 52