]> git.saurik.com Git - wxWidgets.git/commitdiff
reverted last commit, using result of NewControlId() when creating the control (inste...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Jan 2007 01:01:39 +0000 (01:01 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Jan 2007 01:01:39 +0000 (01:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xmlres.cpp

index cd05c3f70da3904a7534dad995665d985237fb48..479dbbd138ed7ed1cf6ab7f877325b4566643405 100644 (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();
         }
     }