]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
Small code cleanup
[wxWidgets.git] / src / xrc / xmlres.cpp
index 0d26338fc0337feb4fb71398b2bf5a69aff985c3..ccacf0190560b355ff7ae36b5707adc603458fb4 100644 (file)
@@ -1610,7 +1610,7 @@ static int XRCID_Lookup(const char *str_id, int value_if_not_found = wxID_NONE)
         }
         else
         {
-            (*rec_var)->id = wxNewId();
+            (*rec_var)->id = wxWindow::NewControlId();
         }
     }