X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52af3158e974b042008474268570f3bdb7ce95ee..24c4a50f438ef7122e6b2c97d66c6b5589ef56a5:/src/motif/menu.cpp diff --git a/src/motif/menu.cpp b/src/motif/menu.cpp index be5776e4c0..81ce9a4e00 100644 --- a/src/motif/menu.cpp +++ b/src/motif/menu.cpp @@ -236,7 +236,7 @@ void wxMenuBar::SetMenuLabel(size_t pos, const wxString& label) XmNlabelString, label_str(), NULL); } - m_titles[i] = label; + m_titles[pos] = label; } wxString wxMenuBar::GetMenuLabel(size_t pos) const