bms-can-ui/BmsApp.py
2020-02-19 15:45:23 -08:00

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()