X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9f7c16d4dee4c29dcad0c5a4a78c5e164a00ca7..e7c240da70308b5e54bf8bcc9813b5c4e4fece4d:/include/wx/msw/display.h?ds=inline diff --git a/include/wx/msw/display.h b/include/wx/msw/display.h index 4f4c72e306..b34635e90d 100644 --- a/include/wx/msw/display.h +++ b/include/wx/msw/display.h @@ -2,14 +2,14 @@ // Name: display.h // Purpose: wxDisplay class customization for WXMSW // Author: Royce Mitchell III -// Modified by: +// Modified by: // Created: 06/21/02 // RCS-ID: $Id$ -// Copyright: (c) wxWindows team +// Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "display.h" #endif @@ -38,6 +38,8 @@ public: virtual wxVideoMode GetCurrentMode() const; virtual bool ChangeMode(const wxVideoMode& mode = wxVideoMode()); + virtual bool IsPrimary() const; + private: // get the display name to use with EnumDisplaySettings() wxString GetNameForEnumSettings() const; @@ -49,7 +51,7 @@ private: wxArrayVideoModes DoGetModesWindows(const wxVideoMode& modeMatch) const; bool DoChangeModeWindows(const wxVideoMode& mode); - + DECLARE_NO_COPY_CLASS(wxDisplay) };