diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 4f66006a29..7c48defdbe 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -41,7 +41,7 @@ // not all ports have support for EVT_CONTEXT_MENU yet, don't define // USE_CONTEXT_MENU for those which don't -#if defined(__WXMOTIF__) && defined(__WXPM__) +#if defined(__WXMOTIF__) || defined(__WXPM__) #define USE_CONTEXT_MENU 0 #else #define USE_CONTEXT_MENU 1