// because -1 is a valid (and largely used) value for window id.
typedef int wxWindowID;
+// ----------------------------------------------------------------------------
+// other feature tests
+// ----------------------------------------------------------------------------
+
+ // Every ride down a slippery slope begins with a single step..
+ //
+ // Yes, using nested classes is indeed against our coding standards in
+ // general, but there are places where you can use them to advantage
+ // without totally breaking ports that cannot use them. If you do, then
+ // wrap it in this guard, but such cases should still be relatively rare.
+
+#ifndef __WIN16__
+#define wxUSE_NESTED_CLASSES 1
+#else
+#define wxUSE_NESTED_CLASSES 0
+#endif
+
// ----------------------------------------------------------------------------
// portable calling conventions macros
// ----------------------------------------------------------------------------