+#else // !HAVE_X11_EXTENSIONS_XF86VMODE_H
+
+wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const
+{
+ Display *disp = (Display*)wxGetDisplay();
+ int count_return;
+ int* depths = XListDepths(disp, 0, &count_return);
+ wxArrayVideoModes modes;
+ if (depths)
+ {
+ int x;
+ for (x = 0; x < count_return; ++x)
+ {
+ modes.Add(wxVideoMode(m_priv->m_rect.GetWidth(), m_priv->m_rect.GetHeight(), depths[x]));
+ }
+ }
+ return modes;
+}
+
+wxVideoMode wxDisplay::GetCurrentMode() const
+{
+ // Not implemented
+ return wxVideoMode();
+}
+
+bool wxDisplay::ChangeMode(const wxVideoMode& mode)
+{
+ // Not implemented
+ return false;
+}
+
+#endif // !HAVE_X11_EXTENSIONS_XF86VMODE_H
+
+#endif /* wxUSE_DISPLAY */