equal
deleted
inserted
replaced
1586 """ |
1586 """ |
1587 Create a dialog to indicate error or warning. |
1587 Create a dialog to indicate error or warning. |
1588 @param mention : Error String |
1588 @param mention : Error String |
1589 """ |
1589 """ |
1590 app_frame = self.Controler.GetCTRoot().AppFrame |
1590 app_frame = self.Controler.GetCTRoot().AppFrame |
1591 dlg = wx.MessageDialog (app_frame, mention, |
1591 dlg = wx.MessageDialog(app_frame, mention, |
1592 ' Warning...', |
1592 ' Warning...', |
1593 wx.OK | wx.ICON_INFORMATION) |
1593 wx.OK | wx.ICON_INFORMATION) |
1594 dlg.ShowModal() |
1594 dlg.ShowModal() |
1595 dlg.Destroy() |
1595 dlg.Destroy() |