projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use wxGTK_CONV instead of directly using wxConvLocal (simplifies code avoiding needle...
[wxWidgets.git]
/
wxPython
/
demo
/
Listbook.py
diff --git
a/wxPython/demo/Listbook.py
b/wxPython/demo/Listbook.py
index 7c92d02bd31ec2d66ca2e8d3bd19cd9bb50eba23..56617a0e790b7917eaba905ab52a117d4c48fd85 100644
(file)
--- a/
wxPython/demo/Listbook.py
+++ b/
wxPython/demo/Listbook.py
@@
-54,6
+54,7
@@
class TestLB(wx.Listbook):
win = ColorPanel.ColoredPanel(p, color)
p.win = win
def OnCPSize(evt, win=win):
+ win.SetPosition((0,0))
win.SetSize(evt.GetSize())
p.Bind(wx.EVT_SIZE, OnCPSize)
return p