]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/menuce.cpp
Fix wxGrid compilation with MSVC7.
[wxWidgets.git] / src / msw / wince / menuce.cpp
index 18db3904041c1afc06f49ecc2440035df741cbcd..4b8c40057095670d49e920efc5cdbb0150509f3c 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;
@@ -224,7 +225,7 @@ void wxTopLevelWindowMSW::ReloadAllButtons()
 
     if (!SHCreateMenuBar(&menu_bar))
     {
-        wxFAIL_MSG( _T("SHCreateMenuBar failed") );
+        wxFAIL_MSG( wxT("SHCreateMenuBar failed") );
         return;
     }