]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed USE_CONTEXT_MENU tests
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 13 Apr 2004 10:46:17 +0000 (10:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 13 Apr 2004 10:46:17 +0000 (10:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/menu/menu.cpp

index 378fa444723c91885f8897b8309eca29358d2410..4f66006a29d9f61e2125297bb487fbfe1f0337ff 100644 (file)
 
 // 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__)
-    #define USE_CONTEXT_MENU
+#if defined(__WXMOTIF__) && defined(__WXPM__)
+    #define USE_CONTEXT_MENU 0
+#else
+    #define USE_CONTEXT_MENU 1
 #endif
 
 #include "copy.xpm"