X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1cee36ad05c07edbebd028c9d11beb9efcc6478c..174051f6139a05e5bc5a2ba101534a4742e3afb1:/wxPython/src/_cursor.i?ds=sidebyside diff --git a/wxPython/src/_cursor.i b/wxPython/src/_cursor.i index 7c4acbd0a2..b1e103f2aa 100644 --- a/wxPython/src/_cursor.i +++ b/wxPython/src/_cursor.i @@ -66,6 +66,8 @@ class wxCursor : public wxGDIObject { public: + RefDoc(wxCursor, ""); // turn it off for the ctors + %extend { DocStr(wxCursor, "Construct a Cursor from a file. Specify the type of file using\n" @@ -132,9 +134,11 @@ public: long , GetHandle(), "Get the MS Windows handle for the cursor"); - DocDeclStr( - void , SetHandle(long handle), - "Set the MS WIndows handle for the cursor"); + %extend { + DocStr(SetHandle, + "Set the MS Windows handle to use for the cursor"); + void SetHandle(long handle) { self->SetHandle((WXHANDLE)handle); } + } #endif