]> git.saurik.com Git - wxWidgets.git/blame - 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
CommitLineData
6ec507fd
JS
1/*
2 * Xlib compatibility
3 */
4
5#include "XtoNX.h"
256d631a
JS
6
7/* Data types */
8
9typedef GR_PALETTE Colormap;
10
11/* events*/
12
13/* What should this be? */
14#if 0
15#ifndef ResizeRequest
16#define ResizeRequest ??
17#endif
18#endif
19
20#ifndef MotionNotify
21#define MotionNotify GR_EVENT_TYPE_MOUSE_POSITION
22#define PointerMotionMask GR_EVENT_MASK_MOUSE_POSITION
23#endif
24
25#ifndef FocusIn
26#define FocusIn GR_EVENT_TYPE_FOCUS_IN
27#define FocusOut GR_EVENT_TYPE_FOCUS_OUT
28#define FocusChangeMask GR_EVENT_MASK_FOCUS_IN|GR_EVENT_MASK_FOCUS_OUT
29#endif
30
31/* Fuunctions */
32
33#ifdef __cpluplus
34extern "C" {
35#endif
36
37Colormap DefaultColormapOfScreen(Screen /* screen */);
38
39#ifdef __cpluplus
40}
41#endif
42
43#define XGetMaxRequestSize(display) 16384
44