]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wince/wince.rc
add an assert indicating that old code overriding OnExecute() must be updated with 2.9
[wxWidgets.git] / include / wx / msw / wince / wince.rc
index 1ab2a7f2dda00340b03112595e49f8de7eb66a27..e9c7e28ef7771d2ff0414754028a350cff4447a7 100644 (file)
@@ -1,26 +1,15 @@
 #include <commctrl.h>
+#include "wx/msw/wince/resources.h"
 
 #ifdef WIN32_PLATFORM_WFSP
-    #include "wx\msw\wince\smartphone.rc"
-#else
+    #include "wx/msw/wince/smartphone.rc"
+#else // !smartphone
 
-// Dummy menubar/toolbar for WinCE
-
-5000 RCDATA DISCARDABLE
+// Dummy empty menubar/toolbar for WinCE
+wxIDM_SHMENU RCDATA DISCARDABLE
 BEGIN
-  // Popup menu name
-  5000,
-  // Count of items to put on the menu
+  wxIDM_SHMENU,
   0
 END
 
-5000 MENU DISCARDABLE
-BEGIN
-    POPUP "Dummy"
-    BEGIN
-    MENUITEM "Dummy" 99
-    END
-END
-
-#endif
-
+#endif // smartphone/!smartphone