new_contents: # -*- coding: utf-8 -*-
  import wx
  
  ID_BUTTON_CLOSE_MSG = 1000
  ID_LABLE_TEXT_INFO = 1001
  ID_ICON_INFO = 1002
  
  
  class CompleteRegCtrl(wx.Frame):
  
      def __init__(self, parent, id, title, ico_folder):
          wx.Frame.__init__(self, parent, -1, title, style=wx.DEFAULT_FRAME_STYLE ^ wx.RESIZE_BORDER)
  
          # lables, which contains some text
          self.txt = wx.StaticText(self, id=ID_LABLE_TEXT_INFO, label="После перезапуска приложения Вы", pos=(60, 25))
          self.txt.SetFont(wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0))
          self.txt = wx.StaticText(self, id=ID_LABLE_TEXT_INFO, label="можете авторизироваться", pos=(85, 40))
          self.txt.SetFont(wx.Font(10, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0))
  
          # info icon
          bitmap = wx.Bitmap(ico_folder + '/icons/ui/info.png', type=wx.BITMAP_TYPE_PNG)
          self.info_icon = wx.StaticBitmap(self, id=ID_ICON_INFO, bitmap=bitmap, pos=(15, 25))
  
          # buttons
          self.cancel_button = wx.Button(self, id=ID_BUTTON_CLOSE_MSG, label='Закрыть', pos=(225, 115))
  
          # form settings
          size = (320, 150)
          self.SetSize(size)
          self.icon = wx.Icon(ico_folder + '/icons/app.ico', wx.BITMAP_TYPE_ICO)
          self.SetIcon(self.icon)
  
  
  if __name__ =='__main__':
      app = wx.App(0)
      ico_folder = '..'
      frame = CompleteRegCtrl(None, -1, 'Сообщение', ico_folder)
      frame.Show()
      app.MainLoop()
subject: Complete register window for widget