mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-18 14:06:07 -04:00
Moved about dialog and fixed a few bugs in tweet dialogs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import wx
|
||||
import wx.adv
|
||||
import application
|
||||
|
||||
class mainFrame(wx.Frame):
|
||||
@@ -173,7 +174,7 @@ class mainFrame(wx.Frame):
|
||||
self.nb.DeletePage(pos)
|
||||
|
||||
def about_dialog(self):
|
||||
info = wx.AboutDialogInfo()
|
||||
info = wx.adv.AboutDialogInfo()
|
||||
info.SetName(application.name)
|
||||
info.SetVersion(application.version)
|
||||
info.SetDescription(application.description)
|
||||
@@ -182,7 +183,8 @@ class mainFrame(wx.Frame):
|
||||
# info.SetLicence(application.licence)
|
||||
for i in application.authors:
|
||||
info.AddDeveloper(i)
|
||||
wx.AboutBox(info)
|
||||
wx.adv.AboutBox(info)
|
||||
|
||||
def set_focus(self):
|
||||
self.SetFocus()
|
||||
|
||||
|
Reference in New Issue
Block a user