X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c1f6b54a50c5b761157b6f152413c6fbb837237..9e477492e29e03c02827b1e42a16cb09a13f5149:/wxPython/src/_cursor.i?ds=inline diff --git a/wxPython/src/_cursor.i b/wxPython/src/_cursor.i index d929d41a70..02e8a7f1cc 100644 --- a/wxPython/src/_cursor.i +++ b/wxPython/src/_cursor.i @@ -99,11 +99,11 @@ stock cursors are available on all platforms.", "", "Constructs a cursor from a `wx.Image`. The mask (if any) will be used for setting the transparent portions of the cursor.", " -In MSW the cursor is resized to 32x32. +In MSW the cursor is resized to 32x32 if it was larger. In GTK the cursor will be displayed at the size of the image. -On MacOS the cursor is resized to 16x16.", +On MacOS the cursor is resized to 16x16 if it was larger.", CursorFromImage); @@ -140,10 +140,11 @@ On MacOS the cursor is resized to 16x16.", #endif DocDeclStr( - bool , Ok(), + bool , IsOk(), "", ""); + %pythoncode { Ok = IsOk } - %pythoncode { def __nonzero__(self): return self.Ok() } + %pythoncode { def __nonzero__(self): return self.IsOk() } #ifdef __WXMSW__