wx.StockCursor segfaults

Hi,
the following lines give a segfault on linux,py2.3,wxPythonGTK-2.5.1

import wx

c = wx.StockCursor(wx.CURSOR_ARROW)

but not on linux,py2.3,wxPythonGTK2-2.5.1

Regards, Christian Kristukat

Christian Kristukat wrote:

Hi,
the following lines give a segfault on linux,py2.3,wxPythonGTK-2.5.1

import wx

c = wx.StockCursor(wx.CURSOR_ARROW)

You need to have an app object created first.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!