X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1b3ddd840a507f3ca85379bfa832f2b0c9105d6..b67c2b8794c60503045b93517b05625755976b95:/include/wx/unix/displayx11.h diff --git a/include/wx/unix/displayx11.h b/include/wx/unix/displayx11.h index 2edc3d1fca..56d921ae84 100644 --- a/include/wx/unix/displayx11.h +++ b/include/wx/unix/displayx11.h @@ -5,7 +5,7 @@ // Modified by: // Created: 12/05/02 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -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,13 +31,19 @@ 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(); private: wxDisplayUnixPriv *m_priv; - DECLARE_NO_COPY_CLASS(wxDisplay); + DECLARE_NO_COPY_CLASS(wxDisplay) }; #endif // wxUSE_DISPLAY