Update of /cvsroot/wxlua/wxLua/samples
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv29787/wxLua/samples
Modified Files:
coroutine.wx.lua
Log Message:
fix sizing of textctrl for MSW not making only child win fill a dialog
Index: coroutine.wx.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/samples/coroutine.wx.lua,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** coroutine.wx.lua 6 Jun 2006 05:14:32 -0000 1.1
--- coroutine.wx.lua 6 Jun 2006 21:03:54 -0000 1.2
***************
*** 48,51 ****
--- 48,54 ----
wx.wxDefaultPosition, wx.wxDefaultSize,
wx.wxTE_MULTILINE + wx.wxTE_READONLY)
+ local mainSizer = wx.wxBoxSizer(wx.wxVERTICAL)
+ mainSizer:AddWindow(o.label, 1, wx.wxGROW)
+ o.dialog:SetSizer(mainSizer)
-- Handle idle events: run the coroutine's next "step"
|