Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pplan:enhance_the_wxformbuilder [2019/05/07 05:07]
alanzheng created
pplan:enhance_the_wxformbuilder [2019/05/18 05:05] (current)
alanzheng
Line 8: Line 8:
   - Support wxAuiManager   - Support wxAuiManager
   - Support wxAui...   - Support wxAui...
 +
 +<​code>​
 +# -*- coding: utf-8 -*-
 +
 +###########################################################################​
 +## Python code generated with wxFormBuilder (version Oct 26 2018)
 +## http://​www.wxformbuilder.org/​
 +##
 +## PLEASE DO *NOT* EDIT THIS FILE!
 +###########################################################################​
 +
 +import wx
 +import wx.xrc
 +
 +class MyFrame ( wx.Frame ):
 + def __init__( self, parent ):
 + wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString,​ pos = wx.DefaultPosition,​ size = wx.Size( 500,300 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )
 + self.SetSizeHints( wx.DefaultSize,​ wx.DefaultSize )
 + self.Centre( wx.BOTH )
 + def __del__( self ):
 + pass
 +
 +app = wx.App() ​
 +window = MyFrame(None)
 +window.Show(True)
 +app.MainLoop()
 +</​code>​
  
 ~~TASK:​alanzheng?​2019-05-07~~ ~~TASK:​alanzheng?​2019-05-07~~