]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/menuce.cpp
GetParent() was always used in test for wxHSCROLL checked in in last commit; use...
[wxWidgets.git] / src / msw / wince / menuce.cpp
index 8ef705abcef29c0a1149dbbc84856258d45c6b6d..707bcc9af59cbd52ee4620a5744e2620738dfe8b 100644 (file)
@@ -84,7 +84,7 @@ void wxTopLevelWindowMSW::ButtonMenu::SetButton(int id, const wxString& label, w
     m_assigned = true;
     m_id = id;
     if(label.empty() && wxIsStockID(id))
-        m_label = wxGetStockLabel(id);
+        m_label = wxGetStockLabel(id, false);
     else
         m_label = label;
     m_menu = subMenu;