How properly use wxCursor in wxPythonGTK (ver. 2.4.0.2)? I do:
···
===================================================
In [1]: from wxPython.wx import *
In [2]: cur=wxCursor("down_arrow.xbm")
In [3]: cur
Out[3]: <C wxCursor instance at down_arrow.xbm>
In [4]: cur.Ok()
-------------------------------------------------------------------------
--
TypeError Traceback (most recent call
last)
?
/usr/lib/python2.2/site-packages/wxPython/gdi.py in Ok(self, *_args,
**_kwargs)
216 gdic.delete_wxCursor(self)
217 def Ok(self, *_args, **_kwargs):
--> 218 val = apply(gdic.wxCursor_Ok,(self,) + _args, _kwargs)
219 return val
220 def __repr__(self):
TypeError: Type error in argument 1 of wxCursor_Ok. Expected _wxCursor_p.
How I must make own cursor ? Or, if it is bug, how possibly to fix it?
--
With best regards,
Alexander I. Evseev