From 0fdd3cc8810f9499af3ea92db2c7fcacc557cb6f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 21 Jan 2007 01:01:39 +0000 Subject: [PATCH] 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 --- src/xrc/xmlres.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index cd05c3f70d..479dbbd138 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -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(); } } -- 2.45.2