code: def __init__(self, parent, title, contents):
      super(HTMLDialog, self).__init__(
          parent,
          -1,
          title,
          style=(wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER),
      )
      html = cellprofiler.gui.html.htmlwindow.HtmlClickableWindow(
          parent=self
      )
      html.SetPage(contents)
      sizer = wx.BoxSizer(wx.VERTICAL)
      sizer.Add(html, 1, wx.EXPAND | wx.ALL, 5)
      sizer.Add(self.CreateStdDialogButtonSizer(wx.OK), flag=wx.CENTER)
      self.SetSizer(sizer)
      html.SetFocus()
  
imports: import wx
  import cellprofiler.gui.html.htmlwindow
label_desc: Use image node_id 1 to create a new HTMLDialog object from inherited base classes: wx with example: obj = HTMLDialog(parent, title, contents)