code: def get_warning_choice(self, message, short_message,
                             style=wx.YES_NO | wx.NO_DEFAULT | wx.ICON_WARNING):
          
  
          dlg = GMD.GenericMessageDialog(self.main_window, message,
                                         short_message, style)
  
          choice = dlg.ShowModal()
  
          dlg.Destroy()
  
          return choice == wx.ID_YES
docs: Launches proceeding dialog and returns True if ok to proceed