From ad224330c08b528bb246e170b3c602c86837aece Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 18 Aug 2018 11:08:14 +0200 Subject: [PATCH] Improve wxID_AUTO_{LOWEST,HIGHEST} description Explain that the values of these constants are not 0 and 1, as could be misconstrued by just looking at the enum declaration. --- interface/wx/defs.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/interface/wx/defs.h b/interface/wx/defs.h index 7d4a954270..3bf4f67723 100644 --- a/interface/wx/defs.h +++ b/interface/wx/defs.h @@ -564,13 +564,19 @@ enum wxStandardID { /** This id delimits the lower bound of the range used by automatically-generated ids - (i.e. those used when wxID_ANY is specified during construction). + (i.e.\ those used when wxID_ANY is specified during construction). + + It is defined as a relatively large negative number and its exact value + is platform-dependent. */ wxID_AUTO_LOWEST, /** This id delimits the upper bound of the range used by automatically-generated ids - (i.e. those used when wxID_ANY is specified during construction). + (i.e.\ those used when wxID_ANY is specified during construction). + + It is defined as a relatively small negative number and its exact value + is platform-dependent. */ wxID_AUTO_HIGHEST,