import wx
import wx.dataview as dv
class ExMain(wx.Frame):
cnx = None
index = 0
def __init__(self):
wx.Frame.__init__(self, wx.ID_ANY, "Title", wx.DefaultPosition, (400,400), wx.DEFAULT_FRAME_STYLE, "Simulator Main")
if __name__ == '__main__':
app = wx.App()
frame = NRTSimMain().Show()
app.MainLoop()
When I run this I am getting the following errors:
frame = NRTSimMain().Show()
File ".\NRTSim-Main.py", line 13, in __init__
wx.Frame.__init__(self, wx.ID_ANY, "Title", wx.DefaultPosition, (350,200), wx.DEFAULT_FRAME_STYLE, "NRT Sorter Sim Main")
TypeError: Frame(): arguments did not match any overloaded call:
overload 1: too many arguments
overload 2: argument 1 has unexpected type 'StandardID'
I have tried myriad overloads with no avail. I really just want to dictate the initial size and position. This Frame is the default for the App.