X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4ccf05663316e28d964c7d76dc5defe774b59427..7344108e8a129a3f9b4df5ab0f98a1713db03b89:/interface/wx/display.h?ds=sidebyside diff --git a/interface/wx/display.h b/interface/wx/display.h index 6829465769..a54f4a9fe3 100644 --- a/interface/wx/display.h +++ b/interface/wx/display.h @@ -3,7 +3,7 @@ // Purpose: interface of wxDisplay // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -12,7 +12,7 @@ Determines the sizes and locations of displays connected to the system. @library{wxcore} - @category{misc} + @category{cfg} @see wxClientDisplayRect(), wxDisplaySize(), wxDisplaySizeMM() */ @@ -40,15 +40,10 @@ public: If wxDefaultVideoMode is passed in as the mode parameter, the defined behaviour is that wxDisplay will reset the video mode to the default - mode used by the display. On Windows, the behavior is normal. However, + mode used by the display. On Windows, the behaviour is normal. However, there are differences on other platforms. On Unix variations using X11 extensions it should behave as defined, but some irregularities may occur. - - On wxMac passing in wxDefaultVideoMode as the mode parameter does - nothing. This happens because carbon no longer has access to - @c DMUseScreenPrefs(), an undocumented function that changed the video - mode to the system default by using the system's "scrn" resource. */ bool ChangeMode(const wxVideoMode& mode = wxDefaultVideoMode); @@ -63,7 +58,7 @@ public: /** Returns the number of connected displays. */ - static unsigned GetCount(); + static unsigned int GetCount(); /** Returns the current video mode that this display is in.