]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/setup0.h
don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value param...
[wxWidgets.git] / include / wx / os2 / setup0.h
index 2099ba0fa104cbee33d5c0f2d6168b0dbe07c611..c8350fae1daf5e8e74bca4f65c2d4ebdae461420 100644 (file)
 // long-running programs can run into problems with ids reuse without this. On
 // the other platforms, where the ids have the full int range, this shouldn't
 // be necessary.
-#define wxUSE_AUTOID_MANAGEMENT defined(__WXMSW__)
+#ifdef __WXMSW__
+#define wxUSE_AUTOID_MANAGEMENT 1
+#else
+#define wxUSE_AUTOID_MANAGEMENT 0
+#endif
 
 // ----------------------------------------------------------------------------
 // common dialogs