wxWidgets/wxPython/samples/wxPIA_book/Chapter-08/simple_frame.py

9 lines
198 B
Python
Raw Normal View History

import wx
if __name__ == '__main__':
app = wx.PySimpleApp()
frame = wx.Frame(None, -1, "A Frame", style=wx.DEFAULT_FRAME_STYLE,
size=(200, 100))
frame.Show()
app.MainLoop()