#endif // MSW
// ----------------------------------------------------------------------------
-// Display and colorss (X only)
+// X11 Display access
// ----------------------------------------------------------------------------
+#if defined(__X__) || defined(__WXGTK__)
+
#ifdef __WXGTK__
void *wxGetDisplay();
#endif
return (_XDisplay *)wxGetDisplay();
}
+#endif // X11 || wxGTK
+
#endif // wxUSE_GUI
// ----------------------------------------------------------------------------