git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated gpdf2swf (patch from Ricardo Pedroso)
[swftools.git]
/
wx
/
gui
/
options
/
viewer.py
diff --git
a/wx/gui/options/viewer.py
b/wx/gui/options/viewer.py
index
18c70af
..
94ab7fa
100644
(file)
--- a/
wx/gui/options/viewer.py
+++ b/
wx/gui/options/viewer.py
@@
-26,7
+26,7
@@
import os
import wx
import operator
import imp
import wx
import operator
import imp
-from wx.lib.wordwrap import wordwrap
+from lib.wordwrap import wordwrap
from gui.boldstatictext import BoldStaticText
import viewers
import gui.fields
from gui.boldstatictext import BoldStaticText
import viewers
import gui.fields
@@
-55,7
+55,7
@@
class Viewers:
class ViewerBook(wx.Listbook):
def __init__(self, parent):
wx.Listbook.__init__(self, parent, wx.ID_ANY, style=
class ViewerBook(wx.Listbook):
def __init__(self, parent):
wx.Listbook.__init__(self, parent, wx.ID_ANY, style=
- wx.BK_DEFAULT
+ wx.LB_DEFAULT
)
self.__mod = []
)
self.__mod = []
@@
-77,10
+77,6
@@
class ViewerBook(wx.Listbook):
win = self.makePanel(mod)
self.AddPage(win, mod, imageId=idx)
win = self.makePanel(mod)
self.AddPage(win, mod, imageId=idx)
- # A hack to avoid having the scrollbar be on bottom
- # the first time the control is created
- self.ListView.Select(self.ListView.GetItemCount()-1)
- self.ListView.Select(0)
def makePanel(self, mod):
p = wx.Panel(self)
def makePanel(self, mod):
p = wx.Panel(self)