X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bde626ce30c80dd9409b7214f43e92c0f62447a0..2cce66352fc23859e991c2e7658dbf1cdf8c4183:/include/wx/cpp.h?ds=inline diff --git a/include/wx/cpp.h b/include/wx/cpp.h index 77a907f3ac..82931e6dd7 100644 --- a/include/wx/cpp.h +++ b/include/wx/cpp.h @@ -17,6 +17,10 @@ #define wxCONCAT_HELPER(text, line) text ## line #define wxCONCAT(text, line) wxCONCAT_HELPER(text, line) +#define wxCONCAT3(x1, x2, x3) wxCONCAT(wxCONCAT(x1, x2), x3) +#define wxCONCAT4(x1, x2, x3, x4) wxCONCAT(wxCONCAT3(x1, x2, x3), x4) +#define wxCONCAT5(x1, x2, x3, x4, x5) wxCONCAT(wxCONCAT4(x1, x2, x3, x4), x5) + /* wxSTRINGIZE works as the preprocessor # operator but also works with macros */ #define wxSTRINGIZE_HELPER(x) #x #define wxSTRINGIZE(x) wxSTRINGIZE_HELPER(x) @@ -53,5 +57,5 @@ */ #define wxEMPTY_PARAMETER_VALUE /* Fake macro parameter value */ -#endif // _WX_CPP_H_ +#endif /* _WX_CPP_H_ */