wxCHECK_MSG(False, NULL,
wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
%#else
- return new wxCursor(*cursorName, flags, hotSpotX, hotSpotY);
+ return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
%#endif
}
}
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