corrected wxMAKE_VERSION_STRING and wxMAKE_VERSION_DOT_STRING definitions

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-12-19 23:08:43 +00:00
parent d67fee71b8
commit d70471fe72

View File

@ -29,8 +29,11 @@
/* ---------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------- */
/* helpers for wxVERSION_NUM_XXX */ /* helpers for wxVERSION_NUM_XXX */
#define wxMAKE_VERSION_STRING(x, y, z) #x #y #z #define wxSTRINGIZE(x) #x
#define wxMAKE_VERSION_DOT_STRING(x, y, z) #x "." #y "." #z #define wxMAKE_VERSION_STRING(x, y, z) \
wxSTRINGIZE(x) wxSTRINGIZE(y) wxSTRINGIZE(z)
#define wxMAKE_VERSION_DOT_STRING(x, y, z) \
wxSTRINGIZE(x) "." wxSTRINGIZE(y) "." wxSTRINGIZE(z)
/* these are used by src/msw/version.rc and should always be ASCII, not Unicode */ /* these are used by src/msw/version.rc and should always be ASCII, not Unicode */
#define wxVERSION_NUM_STRING \ #define wxVERSION_NUM_STRING \