Hi,
A new test build of wxPython has been uploaded.
Version: 2.9.4.0.b20120519
URL: http://wxPython.kosoftworks.com/preview/20120519
Changes: http://wxPython.kosoftworks.com/preview/20120519/CHANGES.html
Have fun!
R'bot
Hi,
A new test build of wxPython has been uploaded.
Version: 2.9.4.0.b20120519
URL: http://wxPython.kosoftworks.com/preview/20120519
Changes: http://wxPython.kosoftworks.com/preview/20120519/CHANGES.html
Have fun!
R'bot
Hi,
Issues I found in the demo:
- Preview in the print framework shows this error:
Traceback (most recent call last):
File "PrintFramework.py", line 64, in OnPrintPage
(w, h) = dc.GetSizeTuple()
AttributeError: 'PySwigObject' object has no attribute
‘GetSizeTuple’
Major change in my own app:
2.9.3:
![hjijghhi.png|1018x149](upload://yELWuiM35hVJqlVVCWv5grUKyV2.png)
2.9.4:
![eccbgafi.png|1028x108](upload://9xw6EiMogn66WDKQbHfIWy0al1M.png)
Layout is not the same and validator do no longer update values into
controls.
All this by just changing:
wxversion.select('2.9.3')
to:
wxversion.select('2.9.4')
Any hints on what has changed in 2.9.4 which causes such changes?
BTW, what is the status of the StaticBox? Should controls be
siblings, should one still use StaticBoxSizer?
Will work through the demo and also try to debug where things go
wrong with my app.
Werner
Hi Robin,
A couple more:
- InfoBar the AGW one seems only to be a copy of the wx one, i.e. InfoBar is used as wx.InfoBar and no import from AGW.
- XLSGridDemo - when clicking start I get "Error: the file Example_1.xls is not in the data directory"
Werner
Hi Robin,
…
Layout
is not the same and validator do no longer update values into
controls.
The validator problem is due to a change in wx.lib.sized_controls.
self.SetExtraStyle(wx.WS_EX_VALIDATE_RECURSIVELY)
has been removed everywhere except for the SizedDialog?!
Will it be left like that?
Werner
On 20/05/2012 11:45, Werner wrote:
Hi Robin,
...
Layout is not the same and validator do no longer update values into controls.
The Layout issue is due to masked edit, some time ago I suggested a change to how it calculates the control size, obviously this change didn't make it.
Any chance the change (see attached email with patch) could be considered for inclusion in 2.9.4?
Werner
maskededitbettersizing.patch (1.44 KB)
Attached Message (8.11 KB)
On 20/05/2012 11:45, Werner wrote:
Hi,
When trying the "ShortcutEditor" demo I get a no such file ("...../default_help_text.html").
Werner
Hi,
Issues I found in the demo:
- Preview in the print framework shows this error:
Traceback (most recent call last):
File "PrintFramework.py", line 64, in OnPrintPage
(w, h) = dc.GetSizeTuple()
AttributeError: 'PySwigObject' object has no attribute 'GetSizeTuple'
Fixed.
Major change in my own app:
2.9.3:2.9.4:
Layout is not the same and validator do no longer update values into
controls.All this by just changing:
wxversion.select('2.9.3')
to:
wxversion.select('2.9.4')Any hints on what has changed in 2.9.4 which causes such changes?
I'm not sure. I don't recall anything specific.
BTW, what is the status of the StaticBox? Should controls be siblings,
should one still use StaticBoxSizer?
Either way is supposed to work. On wxMSW some adjustments need to be made to handle the spacing correctly when the widgets are children of the StaticBox (that does already work on the other platforms.) I volunteered to do it but haven't gotten to it yet. I'll try to do it before the next preview build.
On 5/20/12 2:45 AM, Werner wrote:
--
Robin Dunn
Software Craftsman
Hi Robin,
A couple more:
- InfoBar the AGW one seems only to be a copy of the wx one, i.e.
InfoBar is used as wx.InfoBar and no import from AGW.
The demo files are different, but it looks like the demo itself is simply not loading the one from AGW when it finds a matching name in the mail demo folder. A simple rename should take care of it.
- XLSGridDemo - when clicking start I get "Error: the file Example_1.xls
is not in the data directory"
There is a line in the installer that should add this file to the list. Can you verify that it is or is not there or perhaps put in the wrong place?
On 5/20/12 3:01 AM, Werner wrote:
--
Robin Dunn
Software Craftsman
Are you sure that wasn't a change you made locally? I don't see it being removed in any of the recent updates to that file. See:
http://trac.wxwidgets.org/log/wxPython/trunk/wx/lib/sized_controls.py
On 5/20/12 6:29 AM, Werner wrote:
Hi Robin,
On 20/05/2012 11:45, Werner wrote:
...
Layout is not the same and validator do no longer update values into
controls.The validator problem is due to a change in wx.lib.sized_controls.
self.SetExtraStyle(wx.WS_EX_VALIDATE_RECURSIVELY)
has been removed everywhere except for the SizedDialog?!
--
Robin Dunn
Software Craftsman
Done.
On 5/20/12 6:48 AM, Werner wrote:
Hi Robin,
On 20/05/2012 11:45, Werner wrote:
...Layout is not the same and validator do no longer update values into
controls.The Layout issue is due to masked edit, some time ago I suggested a
change to how it calculates the control size, obviously this change
didn't make it.Any chance the change (see attached email with patch) could be
considered for inclusion in 2.9.4?
--
Robin Dunn
Software Craftsman
Hi Robin,
On 29/05/2012 00:02, Robin Dunn wrote:
On 5/20/12 3:01 AM, Werner wrote:
Hi Robin,
A couple more:
- InfoBar the AGW one seems only to be a copy of the wx one, i.e.
InfoBar is used as wx.InfoBar and no import from AGW.The demo files are different, but it looks like the demo itself is simply not loading the one from AGW when it finds a matching name in the mail demo folder. A simple rename should take care of it.
- XLSGridDemo - when clicking start I get "Error: the file Example_1.xls
is not in the data directory"There is a line in the installer that should add this file to the list. Can you verify that it is or is not there or perhaps put in the wrong place?
I just deleted my demo and reinstalled it.
The file is in:
C:\Python27\Doc\wxPython2.9 Docs and Demos\demo\agw\data
but I still get the error when I click on "Start", will try and dig a bit more later today and see if I can provide more information.
Werner
Hi Robin,
...
2.9.3:
2.9.4:
Layout is not the same and validator do no longer update values into
controls.All this by just changing:
wxversion.select('2.9.3')
to:
wxversion.select('2.9.4')Any hints on what has changed in 2.9.4 which causes such changes?
Major change in my own app:
I'm not sure. I don't recall anything specific.
One was due to the SizedControls (will just sub-class to add the "self.SetExtraStyle(wx.WS_EX_VALIDATE_RECURSIVELY) ", must have thought to provide a patch for this and never did- sorry for having you to chase this) and the other the masked change which you applied according to the other post.
BTW, what is the status of the StaticBox? Should controls be siblings,
should one still use StaticBoxSizer?Either way is supposed to work. On wxMSW some adjustments need to be made to handle the spacing correctly when the widgets are children of the StaticBox (that does already work on the other platforms.) I volunteered to do it but haven't gotten to it yet. I'll try to do it before the next preview build.
That would be great.
Thanks
Werner
On 29/05/2012 00:01, Robin Dunn wrote: