From: Nate K. <nat...@gm...> - 2005-02-07 16:58:07
|
Hi Tommy, I wasn't able to reproduce your problems. It doesn't seem like adding parens around the variables should make a difference. But, to be fair I'm only a Python hacker. What version of Python are you running? -nate On Tue, 01 Feb 2005 00:56:18 +0100 (CET), Tommy Persson <tp...@id...> wrote: > > It seems that the syntax for sizer.Add has changes in wx-2.5.3 > compared to 2.4. I had to change > gazebo-cvs/lib/python2.3/site-packages/wxgazebo/panels/position.py > from > > sizer.Add(0, 0) > sizer.Add(nsizer, 1, wxEXPAND) > > sizer.Add(0, 0) > sizer.Add(self.stopButton, 0, wxEXPAND) > > to > > sizer.Add((0, 0)) > sizer.Add((nsizer), 1, wxEXPAND) > > sizer.Add((0, 0)) > sizer.Add((self.stopButton), 0, wxEXPAND) > > to get it to work. wx-2.5.3 is what you get in Debian unstable. I do > not know Python so I am not sure if this is the correct fix but it > seems to work. > > /Tommy Persson > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > |