Created
November 24, 2015 04:48
-
-
Save blitzmann/02f0a703f648d00f3e1c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment