Hey Robin, thanks for answering. Sorry I wrote my question in a rush and I’ll admit it wasn’t very good 
The error was to do with status bar fields. Apparently wxglade lets you have none, which is an exception in python. Easily fixed.
The listplaceholder is just a listctrl to block out my gui, I’m going to replace it with a hand-coded ObjectListView.
Using python 2.7 and wxpython 2.8.
The ID problem is actually to do with the way wxglade creates toolbars. I can specify a numeric ID, which is fine, however I don’t want to do this and instead want to use wx.ID_ANY to take care of this for me. The only trouble is that wxglade creates toolbar items like so:
self.toolbar.AddLabelTool(wx.NewId(), …)
Instead I want it to create like so:
self.toolitem = self.toolbar.AddLabelTool(wx.ID_ANY…)
Guessed there wasn’t much I could do about this so instead I have modified wxglade’s codegen files to produce the desired output, taking the value the user specifies as the ID and inserting into the statement generated like this:
self.{user-specified-ID-in-glade} = self.toolbar.AddLabelTool(wx.ID_ANY…)
I’ve also modified the event handler generation so that it generates properly.
Lastly, I’ve toyed with the idea of placing code outside of the wxglade tags and just using the generated files however I really want to try and keep it all separate so I’m going to play around more with the subclassing idea and see how much mileage I get from it. I think a lot of my hangups come from the fact that I don’t like the way wxglade generates some of the widgets, so I may just modify those codegen files for my own custom version of glade.
···
On Tuesday, 20 March 2012 16:44:38 UTC, johnharris85 wrote:
I used to created with wxglade then refactor the generated code to make it all nice and efficient (looped menu/button creation à la Robin’s book etc etc) but that was a thankless task as I needed to make some alterations to the wxglade file and obviously had to regenerate everything. I then read that subclassing the glade file was common (best practise?) and then just handling and doing other stuff in the subclassed file. I have been doing that (being able to regenerate the code and not lose my changes is important to me) but am having to tweak things in the glade code that will obviously be lost again when i regenerate. I have attached some code samples below with inline comments describing what I want/wish for it to do but am not sure how. If anyone has any tips or experiences to share that would be great!
MainWindow - http://bpaste.net/show/25547/
PersonalDetails - http://bpaste.net/show/25548/