Please send questions to st10@humboldt.edu .
"""
Module wxpython_ex2.py
Second wxpython example

from: http://wiki.wxpython.org/index.cgi/Getting_20Started,
      wxPython Wiki, Getting Started subsection

slightly adapted by: Sharon M. Tuttle
last modified: 12-7-05
"""

import wx

class MainWindow(wx.Frame):

    """ We simply derive a new class of Frame. """
    def __init__(self,parent,id, title):

        wx.Frame.__init__(self,parent,wx.ID_ANY,title,size=(800,1000),
                          style=wx.DEFAULT_FRAME_STYLE|wx.NO_FULL_REPAINT_ON_RESIZE)
        self.control = wx.TextCtrl(self,1,style=wx.TE_MULTILINE)

        # note how the Show command is now in the constructor for this frame subclass
        self.Show(True)

app = wx.PySimpleApp()

frame=MainWindow(None,-1,'Small editor')
app.MainLoop()