#! /usr/bin/env python # messages.py import wx class Messages(wx.Frame): def __init__(self, parent, id, title): wx.Frame.__init__(self, parent, id, title, size=(250, 150)) panel = wx.Panel(self, -1) hbox = wx.BoxSizer() sizer = wx.GridSizer(2, 2, 2, 2) btn1 = wx.Button(panel, -1, 'Info') btn2 = wx.Button(panel, -1, 'Error') btn3 = wx.Button(panel, -1, 'Question') btn4 = wx.Button(panel, -1, 'Alert