git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24858
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- /*
- //Brian Victor's patch (X11 can't change bit depth yet), here for reference
+}
+
+
+#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);
Display *disp = (Display*)wxGetDisplay();
int count_return;
int* depths = XListDepths(disp, 0, &count_return);
- */
-}
-
-
-#else // !HAVE_X11_EXTENSIONS_XF86VMODE_H
-
-wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const
-{
- // Not implemented
- return wxArrayVideoModes();
}
wxVideoMode wxDisplay::GetCurrentMode() const
}
wxVideoMode wxDisplay::GetCurrentMode() const