X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dcd41a121908339af548ea4026012e7c73746d..e3276230de335908f70232b2a5ede43665bd8d9d:/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;