Merge branch 'SampleIDs' of https://github.com/Blake-Madden/wxWidgets
Use wxID_HIGHEST instead of hard-coded numbers in samples. See #23456.
This commit is contained in:
commit
83773cec9a
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue