From: Julian Smart Date: Tue, 28 Feb 2006 14:18:45 +0000 (+0000) Subject: Proposed syntax for telling WinCE whether a context menu is available X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/92f07cf89e2a7f77c57cc9119351039330e0a15b Proposed syntax for telling WinCE whether a context menu is available git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 140d1d806d..c956f21df5 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -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()