+// ----------------------------------------------------------------------------
+// Misc functions
+// ----------------------------------------------------------------------------
+
+bool wxDoSetShape( Display* xdisplay, Window xwindow, const wxRegion& region );
+
+class WXDLLIMPEXP_CORE wxXVisualInfo
+{
+public:
+ wxXVisualInfo();
+ ~wxXVisualInfo();
+ void Init( Display* dpy, XVisualInfo* visualInfo );
+
+ int m_visualType; // TrueColor, DirectColor etc.
+ int m_visualDepth;
+ int m_visualColormapSize;
+ void *m_visualColormap;
+ int m_visualScreen;
+ unsigned long m_visualRedMask;
+ unsigned long m_visualGreenMask;
+ unsigned long m_visualBlueMask;
+ int m_visualRedShift;
+ int m_visualGreenShift;
+ int m_visualBlueShift;
+ int m_visualRedPrec;
+ int m_visualGreenPrec;
+ int m_visualBluePrec;
+
+ unsigned char *m_colorCube;
+};
+
+bool wxFillXVisualInfo( wxXVisualInfo* vi, Display* dpy );
+
+#endif // _WX_PRIVX_H_