Hi,
I use Windows 10, Python 3.7 and wxpython 4.0.4 (yes, all of them shiny & new :))
When I do:
self.panel.SetCursor(wx.StockCursor(wx.CURSOR_ARROW))
I get this error:
wxPyDeprecationWarning: Using deprecated class. Use Cursor instead.
What should I do?
Best Regards
swt2c
2
What the warning says.
self.panel.SetCursor(wx.Cursor(wx.CURSOR_ARROW))
···
On Wed, 1 May 2019, steve wrote:
Hi,
I use Windows 10, Python 3.7 and wxpython 4.0.4 (yes, all of them shiny &
new :))
When I do:
self.panel.SetCursor(wx.StockCursor(wx.CURSOR_ARROW))
I get this error:
wxPyDeprecationWarning: Using deprecated class. Use Cursor instead.
What should I do?
steve wrote:
I get this error:
wxPyDeprecationWarning: Using deprecated class. Use Cursor instead.
As a side note, that's not an error. It's a warning, letting you know of potential future problems. Your program will continue to work normally.
···
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.