reverted last commit, using result of NewControlId() when creating the control (instead of wxID_ANY) results in an assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1594,7 +1594,7 @@ static int XRCID_Lookup(const wxChar *str_id, int value_if_not_found = wxID_NONE
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
(*rec_var)->id = wxWindow::NewControlId();
|
(*rec_var)->id = wxNewId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user