X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0eae5d09992c634488c5be14d5a378d6e1dedb71..11a9b49de9f487938312e63645c371d01fff25d0:/wxPython/src/_display.i diff --git a/wxPython/src/_display.i b/wxPython/src/_display.i index fb8433d933..1003365dfc 100644 --- a/wxPython/src/_display.i +++ b/wxPython/src/_display.i @@ -17,6 +17,7 @@ %{ #include +#include %} @@ -72,6 +73,10 @@ means unspecified/known", ""); // refresh frequency in Hz, 0 means unspecified/unknown int refresh; + + %property(Depth, GetDepth, doc="See `GetDepth`"); + %property(Height, GetHeight, doc="See `GetHeight`"); + %property(Width, GetWidth, doc="See `GetWidth`"); }; @@ -96,7 +101,7 @@ class wxDisplay { public: DocCtorStr( - wxDisplay(size_t index = 0), + wxDisplay(unsigned index = 0), "Set up a Display instance with the specified display. The displays are numbered from 0 to GetCount() - 1, 0 is always the primary display and the only one which is always supported", ""); @@ -104,7 +109,7 @@ and the only one which is always supported", ""); ~wxDisplay(); DocDeclStr( - static size_t , GetCount(), + static unsigned , GetCount(), "Return the number of available displays.", ""); DocDeclStr(