I create toolbar inside a frame like this
tb = self.CreateToolBar(wxTB_HORIZONTAL|wxNO_BORDER|wxTB_FLAT|wxTB_TEXT)
tb.AddSimpleTool(10, images.getNewBitmap(), "New", "Long help for 'New'")
When I run it I get a msgbox containing no handler for image type found
I've imported the images.py file ...
Hi,
Function wxInitAllImageHandlers() somewhere in init before using
stuff from images.py is your friend.
mP
ยทยทยท
On Sat, Sep 13, 2003 at 08:53:03AM +0000, eniac@sdf-eu.org wrote:
I create toolbar inside a frame like this
tb = self.CreateToolBar(wxTB_HORIZONTAL|wxNO_BORDER|wxTB_FLAT|wxTB_TEXT)
tb.AddSimpleTool(10, images.getNewBitmap(), "New", "Long help for 'New'")
When I run it I get a msgbox containing no handler for image type found
I've imported the images.py file ...