]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/cpp.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / interface / wx / cpp.h
CommitLineData
23324ae1 1/////////////////////////////////////////////////////////////////////////////
7c913512 2// Name: cpp.h
e54c96f1 3// Purpose: interface of global functions
7c913512 4// Author: wxWidgets team
526954c5 5// Licence: wxWindows licence
7c913512
FM
6/////////////////////////////////////////////////////////////////////////////
7
7fa7088e 8
b21126db 9/** @addtogroup group_funcmacro_misc */
7c913512 10//@{
23324ae1 11/**
7fa7088e
BP
12 This macro returns the concatenation of the arguments passed. Unlike when
13 using the preprocessor operator, the arguments undergo macro expansion
14 before being concatenated.
15
16 @header{wx/cpp.h}
23324ae1 17*/
7fa7088e
BP
18#define wxCONCAT(x1, x2)
19#define wxCONCAT3(x1, x2, x3)
20#define wxCONCAT4(x1, x2, x3, x4)
21#define wxCONCAT5(x1, x2, x3, x4, x5)
23324ae1
FM
22//@}
23
b21126db 24/** @addtogroup group_funcmacro_misc */
7fa7088e 25//@{
23324ae1 26
7c913512 27/**
7fa7088e
BP
28 Returns the string representation of the given symbol which can be either a
29 literal or a macro (hence the advantage of using this macro instead of the
30 standard preprocessor @c # operator which doesn't work with macros).
31
32 Notice that this macro always produces a @c char string, use
33 wxSTRINGIZE_T() to build a wide string Unicode build.
7c913512 34
7fa7088e
BP
35 @see wxCONCAT()
36
37 @header{wx/cpp.h}
23324ae1 38*/
7fa7088e 39#define wxSTRINGIZE(x)
23324ae1
FM
40
41/**
42 Returns the string representation of the given symbol as either an ASCII or
7fa7088e
BP
43 Unicode string, depending on the current build. This is the
44 Unicode-friendly equivalent of wxSTRINGIZE().
45
46 @header{wx/cpp.h}
23324ae1 47*/
7fa7088e
BP
48#define wxSTRINGIZE_T(x)
49
a6ebdba6
VZ
50/**
51 This macro expands to the name of the current function if the compiler
52 supports any of @c __FUNCTION__, @c __func__ or equivalent variables or
53 macros or to @NULL if none of them is available.
54
55 @header{wx/cpp.h}
56*/
57#define __WXFUNCTION__
58
7fa7088e 59//@}
23324ae1 60