mirror of
https://github.com/bendtherules/pytry.git
synced 2026-08-19 00:33:47 +00:00
All the previous files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import wx
|
||||
class MyFrame(wx.Frame):
|
||||
""" We simply derive a new class of Frame. """
|
||||
def __init__(self, parent, title):
|
||||
wx.Frame.__init__(self, parent, title=title, size=(200,100))
|
||||
self.control = wx.TextCtrl(self, style=wx.TE_MULTILINE)
|
||||
self.Show(True)
|
||||
app = wx.App(False)
|
||||
frame = MyFrame(None, 'Small editor')
|
||||
app.MainLoop()
|
||||
Reference in New Issue
Block a user