def saved_dlg(self, message, caption='Saved:'):
        """
        Shows a dialog that tells the user that a file has been saved

        Parameters
        ----------
        message : message to display to user
        caption : title for dialog (default: "Saved:")
        """
        dlg = wx.MessageDialog(self, caption=caption,
                               message=message, style=wx.OK)
        result = self.show_dlg(dlg)
        dlg.Destroy()
def saved_dlg ( self , message , caption = 'Saved:' ) : dlg = wx . MessageDialog ( self , caption = caption , message = message , style = wx . OK ) result = self . show_dlg ( dlg ) dlg . Destroy ( )
Shows a dialog that tells the user that a file has been saved

        Parameters
        ----------
        message : message to display to user
        caption : title for dialog (default: "Saved:")