]> git.saurik.com Git - wxWidgets.git/blame - src/x11/nanox.c
fix for focus handling in generic wxListCtrl
[wxWidgets.git] / src / x11 / nanox.c
CommitLineData
5ed738a7
JS
1/*
2 * nanox.c
3 *
4 * Replacements for some comomon Xlib functions
5 */
6
7#include "wx/setup.h"
8
9#if wxUSE_NANOX
10
11#include "wx/x11/nanox/X11/Xlib.h"
12
13Colormap DefaultColormapOfScreen(Screen /* screen */)
14{
15 static Colormap s_globalColormap;
16 static bool s_init = FALSE;
17
18 if (!s_init)
19 {
20 GrGetSystemPalette(& s_globalColormap);
21 s_init = TRUE;
22 }
23
24 return s_globalColormap;
25}
26
27#endif
28 /* wxUSE_NANOX */