Added a nice icon for preferences dialog
This commit is contained in:
@@ -19,12 +19,15 @@
|
||||
|
||||
import wx
|
||||
from gui.preferenceView import PreferenceView
|
||||
import bitmapLoader
|
||||
|
||||
class PreferenceDialog(wx.Dialog):
|
||||
|
||||
def __init__(self, parent):
|
||||
wx.Dialog.__init__(self, parent, id=wx.ID_ANY, size=wx.DefaultSize, style=wx.DEFAULT_DIALOG_STYLE)
|
||||
self.SetTitle("pyfa - Preferences")
|
||||
|
||||
i = wx.IconFromBitmap(bitmapLoader.getBitmap("preferences_small", "icons"))
|
||||
self.SetIcon(i)
|
||||
mainSizer = wx.BoxSizer(wx.VERTICAL)
|
||||
|
||||
self.listbook = wx.Listbook(self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LB_DEFAULT)
|
||||
|
||||
Reference in New Issue
Block a user