Ticket #3472 (closed defect: fixed)
animated cursor command not working
| Reported by: | stefabc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wxMSW | Version: | 2.9-svn |
| Keywords: | Cc: | stefabc | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
I receive the following error when I tried:
cursor = wx.Cursor
('C:/VSS_PDD_Identify/hourgla3.ani',
wx.BITMAP_TYPE_ANI)
Traceback (most recent call last):
File "C:\Python24\lib\site-
packages\PythonCard\widget.py", line 408,
in _dispatch
handler(background, aWxEvent)
File "C:\VSS_PDD_Identify\Identify.py", line 732,
in
on_Identify_mouseClick
cursor = wx.Cursor
('C:/VSS_PDD_Identify/hourgla3.ani',
wx.BITMAP_TYPE_ANI)
File "C:\Python24\lib\site-packages\wx-2.6-msw-
unicode\wx\_gdi.py",
line 1057,
in init
newobj = _gdi_.new_Cursor(*args, **kwargs)
wx._core.PyAssertionError: C++
assertion "wxAssertFailure" failed in
..\..\src\msw\cursor.cpp(287): unknown cursor
resource type

