X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..d72177fd4db4389689051dffc7c74a84e58dc4a4:/interface/wx/display.h diff --git a/interface/wx/display.h b/interface/wx/display.h index 500dc5b06c..41fd18e953 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() */ @@ -27,7 +27,7 @@ public: The index of the display to use. This must be non-negative and lower than the value returned by GetCount(). */ - wxDisplay(unsigned index = 0); + wxDisplay(unsigned int index = 0); /** Destructor. @@ -63,19 +63,13 @@ public: /** Returns the number of connected displays. */ - static unsigned GetCount(); + static unsigned int GetCount(); /** Returns the current video mode that this display is in. */ wxVideoMode GetCurrentMode() const; - /** - Returns the bit depth of the display whose index was passed to the - constructor. - */ - int GetDepth() const; - /** Returns the index of the display on which the given point lies, or @c wxNOT_FOUND if the point is not on any connected display. @@ -122,6 +116,6 @@ public: Returns @true if the display is the primary display. The primary display is the one whose index is 0. */ - bool IsPrimary(); + bool IsPrimary() const; };