]>
git.saurik.com Git - wxWidgets.git/blob - interface/wx/cpp.h
   1 ///////////////////////////////////////////////////////////////////////////// 
   3 // Purpose:     interface of global functions 
   4 // Author:      wxWidgets team 
   6 // Licence:     wxWindows license 
   7 ///////////////////////////////////////////////////////////////////////////// 
  10 /** @ingroup group_funcmacro_misc */ 
  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. 
  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) 
  25 /** @ingroup group_funcmacro_misc */ 
  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). 
  33     Notice that this macro always produces a @c char string, use 
  34     wxSTRINGIZE_T() to build a wide string Unicode build. 
  40 #define wxSTRINGIZE(x) 
  43     Returns the string representation of the given symbol as either an ASCII or 
  44     Unicode string, depending on the current build. This is the 
  45     Unicode-friendly equivalent of wxSTRINGIZE(). 
  49 #define wxSTRINGIZE_T(x)