#!/usr/bin/env python # -*- coding: cp1252 -*- # Tempo01_OK.py import wx import Tempo02_OK class SimpleToolbar(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(300, 200)) Tempo02_OK.MaBarreOutils(parent=self) self.Centre() self.Show(True) app = wx.App() SimpleToolbar(None, -1, 'MaBarreOutils') app.MainLoop()