wxpython phoenix says that Frame init args are wrong
<p>I am trying to create simple window with menu in wx python 3.0.4.
Actually I get an error:</p>

<blockquote>
  <p>wx.Frame.<strong>init</strong>(self, ID_ANY, "Title", DefaultPosition, (350,200), DEFAULT_FRAME_STYLE, FrameNameStr) TypeError: Frame():</p>
  
  <p>arguments did not match any overloaded call:   overload 1: too many</p>
  
  <p>arguments   overload 2: argument 1 has unexpected type 'StandardID'</p>
</blockquote>

<p>Even this code is from documentation. Could someone tell me what am I doing wrong, please?</p>

<pre><code>import wx
from wx import *

class MainWindow(wx.Frame):
    def __init__(self):
        wx.Frame.__init__(self, ID_ANY, "Title", DefaultPosition, (350,200), DEFAULT_FRAME_STYLE, FrameNameStr)
        self.Bind(wx.EVT_CLOSE, self.OnClose)

        menuBar = wx.MenuBar()
        menu = wx.Menu()
        m_exit = menu.Append(wx.ID_EXIT, "E&amp;xit", "Close window and exit program.")
        self.Bind(wx.EVT_MENU, self.OnClose, m_exit)
        menuBar.Append(menu, "&amp;File")
        menu = wx.Menu()
        m_about = menu.Append(wx.ID_ABOUT, "&amp;About", "Information about this program")
        self.Bind(wx.EVT_MENU, self.OnAbout, m_about)
        menuBar.Append(menu, "&amp;Help")
        self.SetMenuBar(menuBar)

        self.main_panel = MainPanel(self)

    def OnClose(self, e):
        self.Close()

    def OnAbout(self, event):
        dlg = AboutBox(self)
        dlg.ShowModal()
        dlg.Destroy()


class MainPanel(wx.Panel):
    def __init__(self, parent):
        wx.Panel.__init__(self, parent)

class AboutBox(wx.MessageDialog):
    def __init__(self, parent):
        wx.MessageDialog.__init__(parent, "About", "About", wx.OK | wx.ICON_INFORMATION, pos=DefaultPosition)
        self.CentreOnParent(wx.BOTH)
        self.SetFocus()


if __name__ == "__main__":
    app = wx.App(False)
    frame = MainWindow()
    frame.Show()
    app.MainLoop()
</code></pre>

<pre><code>Frame(parent, id=ID_ANY, title="", pos=DefaultPosition,
  size=DefaultSize, style=DEFAULT_FRAME_STYLE, name=FrameNameStr)
</code></pre>

<p>You missed the parent argument.</p>

<p>Working code</p>

<pre><code>import wx

class MainWindow(wx.Frame):
    def __init__(self):
        wx.Frame.__init__(
            self, None, wx.ID_ANY, "Title", wx.DefaultPosition, (350,200),
            wx.DEFAULT_FRAME_STYLE, wx.FrameNameStr)
        self.Bind(wx.EVT_CLOSE, self.OnClose)

        menuBar = wx.MenuBar()
        menu = wx.Menu()
        m_exit = menu.Append(
            wx.ID_EXIT, "E&amp;xit", "Close window and exit program.")
        self.Bind(wx.EVT_MENU, self.OnClose, m_exit)
        menuBar.Append(menu, "&amp;File")
        menu = wx.Menu()
        m_about = menu.Append(
            wx.ID_ABOUT, "&amp;About", "Information about this program")
        self.Bind(wx.EVT_MENU, self.OnAbout, m_about)
        menuBar.Append(menu, "&amp;Help")
        self.SetMenuBar(menuBar)

        self.main_panel = MainPanel(self)

    def OnClose(self, e):
        self.Destroy()

    def OnAbout(self, event):
        dlg = AboutBox(self)
        dlg.ShowModal()
        dlg.Destroy()


class MainPanel(wx.Panel):
    def __init__(self, parent):
        wx.Panel.__init__(self, parent)

class AboutBox(wx.MessageDialog):
    def __init__(self, parent):
        wx.MessageDialog.__init__(
            self, parent, "About", "About", wx.OK | wx.ICON_INFORMATION,
            pos=wx.DefaultPosition)
        self.CentreOnParent(wx.BOTH)


if __name__ == "__main__":
    app = wx.App(False)
    frame = MainWindow()
    frame.Show()
    app.MainLoop()
</code></pre>

python user-interface wxpython python-3.5