示例#1
0
 def showPreferenceDialog(self, event):
     dlg = PreferenceDialog(self)
     dlg.ShowModal()
     dlg.Destroy()
示例#2
0
 def OnShowPreferenceDialog(self, event):
     with PreferenceDialog(self) as dlg:
         dlg.ShowModal()