]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/nanox/X11/Xlib.h
Fixed typo in my last commit (it did break socket detection code :-( ).
[wxWidgets.git] / include / wx / x11 / nanox / X11 / Xlib.h
index a43c74f56a5dfbe92aad5b5139ac2a899f036716..3f84a0be714450d70b780ec473b0bcf0d9bf4b93 100644 (file)
@@ -3,3 +3,42 @@
  */
 
 #include "XtoNX.h"
+
+/* Data types */
+
+typedef GR_PALETTE Colormap;
+
+/* events*/
+
+/* What should this be? */
+#if 0
+#ifndef ResizeRequest
+#define ResizeRequest ??
+#endif
+#endif
+
+#ifndef MotionNotify
+#define MotionNotify GR_EVENT_TYPE_MOUSE_POSITION
+#define PointerMotionMask GR_EVENT_MASK_MOUSE_POSITION
+#endif
+
+#ifndef FocusIn
+#define FocusIn GR_EVENT_TYPE_FOCUS_IN
+#define FocusOut GR_EVENT_TYPE_FOCUS_OUT
+#define FocusChangeMask GR_EVENT_MASK_FOCUS_IN|GR_EVENT_MASK_FOCUS_OUT
+#endif
+
+/* Fuunctions */
+
+#ifdef __cpluplus
+extern "C" {
+#endif
+
+Colormap DefaultColormapOfScreen(Screen /* screen */);
+
+#ifdef __cpluplus
+}
+#endif
+
+#define XGetMaxRequestSize(display) 16384
+