X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1b3ddd840a507f3ca85379bfa832f2b0c9105d6..271cad4cf73376f27c2071b53e534e7ad51ece82:/include/wx/unix/displayx11.h?ds=sidebyside diff --git a/include/wx/unix/displayx11.h b/include/wx/unix/displayx11.h index 2edc3d1fca..4bb0cdc8f4 100644 --- a/include/wx/unix/displayx11.h +++ b/include/wx/unix/displayx11.h @@ -14,7 +14,7 @@ #if wxUSE_DISPLAY -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "display.h" #endif @@ -31,6 +31,12 @@ class WXDLLEXPORT wxDisplay : public wxDisplayBase virtual wxRect GetGeometry() const; virtual int GetDepth() const; virtual wxString GetName() const; + virtual wxArrayVideoModes + GetModes(const wxVideoMode& mode = wxDefaultVideoMode) const; + + virtual wxVideoMode GetCurrentMode() const; + + virtual bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode); ~wxDisplay();