X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dcd41a121908339af548ea4026012e7c73746d..dd9f8b6bb6935360a8271dc3e8749fb026b601a8:/src/msw/wince/menuce.cpp?ds=sidebyside diff --git a/src/msw/wince/menuce.cpp b/src/msw/wince/menuce.cpp index 18db390404..238e2f0f95 100644 --- a/src/msw/wince/menuce.cpp +++ b/src/msw/wince/menuce.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include "wx/msw/wince/missing.h" #include "wx/msw/wince/resources.h" @@ -77,7 +78,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, false); + m_label = wxGetStockLabel(id, wxSTOCK_NOFLAGS); else m_label = label; m_menu = subMenu;