projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
typo
[wxWidgets.git]
/
wxPython
/
wx
/
lib
/
rcsizer.py
diff --git
a/wxPython/wx/lib/rcsizer.py
b/wxPython/wx/lib/rcsizer.py
index 14829fc3dea0659f2c88e59717b04e3e1d49c7ed..b262aee4bd8f5dbe968bd9a99f3430205e92283b 100644
(file)
--- a/
wxPython/wx/lib/rcsizer.py
+++ b/
wxPython/wx/lib/rcsizer.py
@@
-94,8
+94,8
@@
class RowColSizer(wx.PySizer):
#if rowspan > 1 or colspan > 1:
# flag = flag | wx.EXPAND
#if rowspan > 1 or colspan > 1:
# flag = flag | wx.EXPAND
- wx.PySizer.Add(self, item, option, flag, border,
- userData=(row, col, row+rowspan, col+colspan))
+
return
wx.PySizer.Add(self, item, option, flag, border,
+
userData=(row, col, row+rowspan, col+colspan))
#AddWindow = Add
#AddSizer = Add
#AddWindow = Add
#AddSizer = Add
@@
-113,8
+113,8
@@
class RowColSizer(wx.PySizer):
assert row != -1, "Row must be specified"
assert col != -1, "Column must be specified"
assert row != -1, "Row must be specified"
assert col != -1, "Column must be specified"
-
wx.PySizer.AddSpacer
(self, (width, height), option, flag, border,
- userData=(row, col, row+rowspan, col+colspan))
+
return wx.PySizer.Add
(self, (width, height), option, flag, border,
+
userData=(row, col, row+rowspan, col+colspan))
#--------------------------------------------------
def _add( self, size, dim ):
#--------------------------------------------------
def _add( self, size, dim ):