X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..b7e5ba8f2d676583c790c59388eba8bfa9bd33c2:/include/wx/msw/display.h diff --git a/include/wx/msw/display.h b/include/wx/msw/display.h index fad87cfd0e..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) wxWidgets team -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #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) };