Use wxID_HIGHEST instead of wxID_HIGHEST+1 in samples

There is no need to add 1 any more since the changes of 99c52403f9 (Use
usual half-open interval for wxID_LOWEST..wxID_HIGHEST, 2022-10-23), so
don't.

Closes #22923.
This commit is contained in:
Blake Madden 2022-10-27 14:34:47 -04:00 committed by Vadim Zeitlin
parent 66a148d51e
commit 9c76bc27c0
18 changed files with 19 additions and 19 deletions

View file

@ -54,7 +54,7 @@ class MyFrame : public wxFrame
{
enum
{
ID_CreateTree = wxID_HIGHEST+1,
ID_CreateTree = wxID_HIGHEST,
ID_CreateGrid,
ID_CreateText,
ID_CreateHTML,
@ -260,7 +260,7 @@ class SettingsPanel : public wxPanel
{
enum
{
ID_PaneBorderSize = wxID_HIGHEST+1,
ID_PaneBorderSize = wxID_HIGHEST,
ID_SashSize,
ID_CaptionSize,
ID_BackgroundColor,