27 lines
555 B
Python
27 lines
555 B
Python
#!/usr/bin/env python
|
|
# -*- coding: UTF-8 -*-
|
|
|
|
import wx
|
|
import wx.propgrid
|
|
|
|
from BmsView import BmsMonitorFrame
|
|
|
|
|
|
class BmsMonitorView(BmsMonitorFrame):
|
|
def __init__(self, *args, **kwds):
|
|
BmsMonitorFrame.__init__(self, *args, **kwds)
|
|
|
|
# end of class BmsMonitorFrame
|
|
|
|
class BmsApp(wx.App):
|
|
def OnInit(self):
|
|
self.frame = BmsMonitorView(None, wx.ID_ANY, "")
|
|
self.SetTopWindow(self.frame)
|
|
self.frame.Show()
|
|
return True
|
|
|
|
# end of class BmsApp
|
|
|
|
if __name__ == "__main__":
|
|
app = BmsApp(0)
|
|
app.MainLoop()
|