X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51259762d5f470de93294f2dafa9ee72ec70d045..f6840be66eb772c08f0cbb43de677509d5d132bb:/include/wx/display.h diff --git a/include/wx/display.h b/include/wx/display.h index c080a21e2e..99423b6479 100644 --- a/include/wx/display.h +++ b/include/wx/display.h @@ -29,7 +29,7 @@ class WXDLLEXPORT wxString; WX_DECLARE_EXPORTED_OBJARRAY(wxVideoMode, wxArrayVideoModes); // default, uninitialized, video mode object -WXDLLEXPORT_DATA(extern const wxVideoMode) wxDefaultVideoMode; +extern WXDLLEXPORT_DATA(const wxVideoMode) wxDefaultVideoMode; // ---------------------------------------------------------------------------- // wxDisplayBase: represents a display/monitor attached to the system @@ -67,8 +67,8 @@ public: // name may be empty virtual wxString GetName() const = 0; - // display 0 is always the primary display - bool IsPrimary() const { return m_index == 0; } + // display 0 is usually the primary display + virtual bool IsPrimary() const { return m_index == 0; } // enumerate all video modes supported by this display matching the given