X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b95b5a5b25feaa76a2adfce668c679d91a41071b..d359a38002a9a577fcd7c16ca3ed0f2e874bded7:/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__