projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force OMF mode for DLL builds.
[wxWidgets.git]
/
wxPython
/
demo
/
GridStdEdRend.py
diff --git
a/wxPython/demo/GridStdEdRend.py
b/wxPython/demo/GridStdEdRend.py
index 6b5110a3f25651562c94c5f32557fcc32ad01ef2..6a89c3e122ec869c235524aa632fa14160a65716 100644
(file)
--- a/
wxPython/demo/GridStdEdRend.py
+++ b/
wxPython/demo/GridStdEdRend.py
@@
-26,7
+26,7
@@
class MyCustomRenderer(gridlib.PyGridCellRenderer):
for ch in text:
dc.SetTextForeground(random.choice(colors))
for ch in text:
dc.SetTextForeground(random.choice(colors))
- dc.DrawText(ch,
(x, y)
)
+ dc.DrawText(ch,
x, y
)
w, h = dc.GetTextExtent(ch)
x = x + w
if x > rect.right - 5:
w, h = dc.GetTextExtent(ch)
x = x + w
if x > rect.right - 5: