- panel = wxPanel(self, -1)
- text = wxStaticText(panel, -1, "Hello World!")
- text.SetFont(wxFont(12, wxSWISS, wxNORMAL, wxBOLD))
+ panel = wx.Panel(self, -1)
+ text = wx.StaticText(panel, -1, "Hello World!")
+ text.SetFont(wx.Font(12, wx.SWISS, wx.NORMAL, wx.BOLD))