X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b95b5a5b25feaa76a2adfce668c679d91a41071b..5172800e29f9c4b3f4dfa9737f80114a61e55f1f:/wxPython/src/_cursor.i diff --git a/wxPython/src/_cursor.i b/wxPython/src/_cursor.i index bb51a4dd83..02e8a7f1cc 100644 --- a/wxPython/src/_cursor.i +++ b/wxPython/src/_cursor.i @@ -140,10 +140,11 @@ On MacOS the cursor is resized to 16x16 if it was larger.", #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__