wxListCtrl not drawing

Has anyone done a non-trivial program entirely in the "import wx" style?

Yes. After a lot of searching and replacing, it took another hour or so to
track down a couple of things like:

from wxPython.lib.mixins.listctrl import wxListCtrlAutoWidthMixin

class ListCtrl(wxListCtrl, wxListCtrlAutoWidthMixin):
...

which became:

from wx.lib.mixins.listctrl import ListCtrlAutoWidthMixin

class ListCtrl(wx.ListCtrl, ListCtrlAutoWidthMixin):
...

The point, which is probably obvious, is that changing
wxListCtrlAutoWidthMixin to wx.ListCtrlAutoWidthMixin via global search &
replace isn't what you want in this particular case.

If you're using the calendar and change:

from wxPython.calendar import *

to

import wx.calendar

then event handling goes from:

EVT_CALENDAR(...)

to

wx.calendar.EVT_CALENDAR(...)

ยทยทยท

---------------------------------

Looking forward to `import wx` being the standard without the need to go
through the renaming process but it all seems to work fine and the renaming
happens without significantly affecting the startup time of the app that I
converted.

Zatz, Steve wrote:

Has anyone done a non-trivial program entirely in the "import wx" style?

Yes. After a lot of searching and replacing, it took another hour or so to
track down a couple of things like:

I actually did the conversion pretty quickly since most of my code is
already "import wx" style. IIRC the only thing I had problems with
was htmlhelp, which I had to "import wxPython.wx.htmlhelp". (I
couldn't get "import wx.htmlhelp" or variants to work.

My actual concern was over the stability of the resulting program.

Unfortunately having a fully "import wx" program didn't fix my
list control issue anyway.

Roger