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:
Vadim Zeitlin
2007-01-21 01:01:39 +00:00
parent 447325a44f
commit 0fdd3cc881

View File

@@ -1594,7 +1594,7 @@ static int XRCID_Lookup(const wxChar *str_id, int value_if_not_found = wxID_NONE
}
else
{
(*rec_var)->id = wxWindow::NewControlId();
(*rec_var)->id = wxNewId();
}
}