]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/menuce.cpp
removed called to deprecated wxPixelData::UseAlpha() which does nothing now
[wxWidgets.git] / src / msw / wince / menuce.cpp
index 18db3904041c1afc06f49ecc2440035df741cbcd..238e2f0f95ef621637a12d5486aad9960d0d403e 100644 (file)
@@ -37,6 +37,7 @@
 #include <shellapi.h>
 #include <aygshell.h>
 #include <tpcshell.h>
+#include <tpcuser.h>
 #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;