|  | 
 
 
 楼主|
发表于 2020-9-14 20:48:34
|
显示全部楼层 
| 这个我试了,没用。不是消息弹窗,是打开的另外一个窗口
 
 
 
 复制代码class Mainui(wx.Frame):
    def __init__(self, superion):
        wx.Frame.__init__(self, parent=superion, title="Face recognition system", size=(800, 590))
        self.SetBackgroundColour('white')
        self.Center()
这是主窗口的框架
 
 class   EntryUi(wx.Frame):  #RegisterUi
 def __init__(self,superion):
 wx.Frame.__init__(self,parent=superion,title="Face entry",size=(800,590),style=wx.DEFAULT_FRAME_STYLE|wx.STAY_ON_TOP)
 self.SetBackgroundColour('white')
 self.Center()
 这是子窗口的框架
 | 
 |