]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
implemented wxMemoryInputStream::CanRead() and added tests for CanRead() to all strea...
[wxWidgets.git] / 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();
         }
     }