X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9f7c16d4dee4c29dcad0c5a4a78c5e164a00ca7..7d09b97f5321d0accd758eb420c008853ad9ec26:/include/wx/msw/display.h diff --git a/include/wx/msw/display.h b/include/wx/msw/display.h index 4f4c72e306..a001fda4ae 100644 --- a/include/wx/msw/display.h +++ b/include/wx/msw/display.h @@ -2,17 +2,13 @@ // 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__) - #pragma interface "display.h" -#endif - #ifndef _WX_MSW_DISPLAY_H_ #define _WX_MSW_DISPLAY_H_ @@ -38,6 +34,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 +47,7 @@ private: wxArrayVideoModes DoGetModesWindows(const wxVideoMode& modeMatch) const; bool DoChangeModeWindows(const wxVideoMode& mode); - + DECLARE_NO_COPY_CLASS(wxDisplay) };