X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..befa206be99ab50519f3e4c8fdba5e6d8306f3fe:/interface/wx/display.h diff --git a/interface/wx/display.h b/interface/wx/display.h index 71eeeba4f5..20811d7580 100644 --- a/interface/wx/display.h +++ b/interface/wx/display.h @@ -8,7 +8,6 @@ /** @class wxDisplay - @wxheader{display.h} Determines the sizes and locations of displays connected to the system. @@ -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; };