]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
added support for POST method and alternate ports (part of patch 649438)
[wxWidgets.git] / include / wx / platform.h
index edec9b976b366eb77d54836bdb82e93156882cff..2a268134d0f0384864657b8673e872364c7f9eda 100644 (file)
     #endif
 #endif
 
+/* Choose which method we will use for updating menus
+ * - in OnIdle, or when we receive a wxEVT_MENU_OPEN event.
+ * Presently, only Windows and GTK+ support wxEVT_MENU_OPEN.
+ */
+#ifndef wxUSE_IDLEMENUUPDATES
+    #if defined(__WXMSW__) || defined(__WXGTK__)
+        #define wxUSE_IDLEMENUUPDATES 0
+    #else
+        #define wxUSE_IDLEMENUUPDATES 1
+    #endif
+#endif
+
 #endif /* _WX_PLATFORM_H_ */