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:
parent
66a148d51e
commit
9c76bc27c0
18 changed files with 19 additions and 19 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue