X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dcd41a121908339af548ea4026012e7c73746d..7f73c398d5bb0d820520dde635c712b8b7c66634:/src/msw/wince/menuce.cpp 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;