+#if defined(__WXMOTIF__) || defined(__WXPM__)
+ #define USE_CONTEXT_MENU 0
+#else
+ #define USE_CONTEXT_MENU 1
+#endif
+
+// this sample is usefull when new port is developed
+// and usually new port has majority of flags turned off
+#if wxUSE_LOG && wxUSE_TEXTCTRL
+ #define USE_LOG_WINDOW 1
+#else
+ #define USE_LOG_WINDOW 0