]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/menucmn.cpp
fixed typo in code for setting alternative locale name
[wxWidgets.git] / src / common / menucmn.cpp
index 49f3a00d9e08b8f9deef1edbf56b38949f59a60e..7d5185c1b51d0b043bacddbef01e13d14292bc55 100644 (file)
@@ -375,7 +375,7 @@ wxMenuItemBase::wxMenuItemBase(wxMenu *parentMenu,
     m_id          = id;
     m_kind        = kind;
     if (m_id == wxID_ANY)
-        m_id = wxNewId();
+        m_id = wxWindow::NewControlId();
     if (m_id == wxID_SEPARATOR)
         m_kind = wxITEM_SEPARATOR;