Use wxID_HIGHEST instead of hard-coded numbers in samples.

See #23456.
This commit is contained in:
Vadim Zeitlin 2023-04-17 17:03:49 +02:00
commit 83773cec9a
2 changed files with 2 additions and 2 deletions

View file

@ -197,7 +197,7 @@ private:
// constants
// ----------------------------------------------------------------------------
const int ID_TOOLBAR = 500;
const int ID_TOOLBAR = wxID_HIGHEST;
static const long TOOLBAR_STYLE = wxTB_FLAT | wxTB_DOCKABLE | wxTB_TEXT;

View file

@ -328,7 +328,7 @@ void RegisterFrameRTTI()
wxDynamicObject* CreateFrameRTTI()
{
int baseID = 100;
int baseID = wxID_HIGHEST;
wxAny Params[10];
// the class is now part of XTI internal table so that we can