X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..850e47aa3c20c22ff650e80e92e7795a66431863:/interface/wx/display.h diff --git a/interface/wx/display.h b/interface/wx/display.h index 71eeeba4f5..421def972f 100644 --- a/interface/wx/display.h +++ b/interface/wx/display.h @@ -8,12 +8,11 @@ /** @class wxDisplay - @wxheader{display.h} Determines the sizes and locations of displays connected to the system. @library{wxcore} - @category{misc} + @category{cfg} @see wxClientDisplayRect(), wxDisplaySize(), wxDisplaySizeMM() */ @@ -28,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. @@ -64,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. @@ -123,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; };