wxGrid is not defined?

I am doing:

from wxPython.wx import *

but I cannot see the name "wxGrid"

Is there some special magic to creating a wxGrid through wxPython?

-Jim.

Tsillas, James wrote:

I am doing:

from wxPython.wx import *

Don't do that. Do:

import wx

but I cannot see the name "wxGrid"

Because it isn't defined in the wx namespace. Do:

import wx.grid

Is there some special magic to creating a wxGrid through wxPython?

class MyGrid(wx.grid.Grid): pass

ยทยทยท

--
Paul