X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06efac1f8d6acde1610ba23a7b315ade8ed46679..d51305e81eb593bedd92cda864671e15209c268f:/include/wx/msw/display.h?ds=sidebyside diff --git a/include/wx/msw/display.h b/include/wx/msw/display.h index b9f849c4ba..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,8 +51,8 @@ private: wxArrayVideoModes DoGetModesWindows(const wxVideoMode& modeMatch) const; bool DoChangeModeWindows(const wxVideoMode& mode); - - DECLARE_NO_COPY_CLASS(wxDisplay); + + DECLARE_NO_COPY_CLASS(wxDisplay) }; #endif // _WX_MSW_DISPLAY_H_