-const wxWindowID ID_ADDBUTTON = wxWindow::NewControlId();
-const wxWindowID ID_DELBUTTON = wxWindow::NewControlId();
-const wxWindowID ID_MOVEBUTTON = wxWindow::NewControlId();
-const wxWindowID ID_SCROLLWIN = wxWindow::NewControlId();
-const wxWindowID ID_QUERYPOS = wxWindow::NewControlId();
+const wxWindowIDRef ID_ADDBUTTON = wxWindow::NewControlId();
+const wxWindowIDRef ID_DELBUTTON = wxWindow::NewControlId();
+const wxWindowIDRef ID_MOVEBUTTON = wxWindow::NewControlId();
+const wxWindowIDRef ID_SCROLLWIN = wxWindow::NewControlId();
+const wxWindowIDRef ID_QUERYPOS = wxWindow::NewControlId();