]> git.saurik.com Git - wxWidgets.git/commitdiff
Proposed syntax for telling WinCE whether a context menu is available
authorJulian Smart <julian@anthemion.co.uk>
Tue, 28 Feb 2006 14:18:45 +0000 (14:18 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 28 Feb 2006 14:18:45 +0000 (14:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/menu/menu.cpp

index 140d1d806dc6841a1de7e84eea06c04fea9b632a..c956f21df5d08e365b03498a8aa5875bde5ef9c3 100644 (file)
@@ -496,6 +496,9 @@ MyFrame::MyFrame()
                  _T("menubar itself.\n\n")
                  _T("Right click the band below to test popup menus.\n"));
 #endif
+#ifdef __POCKETPC__
+    EnableContextMenu();
+#endif
 }
 
 MyFrame::~MyFrame()