]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
Added RTL functions missing from WinCE to wxchar.h/cpp
[wxWidgets.git] / include / wx / platform.h
index edec9b976b366eb77d54836bdb82e93156882cff..e2782e7d557739971c6937dc818659afd621c121 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
+
+/*
+ * Define symbols that are not yet in
+ * configure or possibly some setup.h files.
+ * They will need to be added.
+ */
+
+#ifndef wxUSE_FILECONFIG
+    #if wxUSE_CONFIG
+        #define wxUSE_FILECONFIG 1
+    #else
+        #define wxUSE_FILECONFIG 0
+    #endif
+#endif
+
+#ifndef wxUSE_HOTKEY
+    #define wxUSE_HOTKEY 0
+#endif
+
+#if !defined(wxUSE_WXDIB) && defined(__WXMSW__)
+    #define wxUSE_WXDIB 1
+#endif
+
 #endif /* _WX_PLATFORM_H_ */