Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

20120530 test build uploaded

3 views
Skip to first unread message

R'bot

unread,
May 30, 2012, 7:15:11 PM5/30/12
to wxPyth...@googlegroups.com
Hi,

A new test build of wxPython has been uploaded.

Version: 2.9.4.0.b20120530
URL: http://wxPython.kosoftworks.com/preview/20120530
Changes: http://wxPython.kosoftworks.com/preview/20120530/CHANGES.html

Have fun!
R'bot

Robin Dunn

unread,
May 31, 2012, 1:00:00 PM5/31/12
to wxpyth...@googlegroups.com
Werner, this build has the origin fix for wx.StaticBox on MSW. Please
test using widgets as the child of the static box, which are in a sizer
that is assigned to the static box. The origin is offset from the top
and sides the number of dialog units suggested by Microsoft in their
style guide.

Sam, this build has your threading fixes patch applied. Please test
with your custom build that you used before to identify the places that
needed to be fixed to see if there are any new ones.

Thanks!

--
Robin Dunn
Software Craftsman
http://wxPython.org

Werner

unread,
May 31, 2012, 2:07:12 PM5/31/12
to wxpyth...@googlegroups.com
On 31/05/2012 19:00, Robin Dunn wrote:
> On 5/30/12 4:15 PM, R'bot wrote:
>> Hi,
>>
>> A new test build of wxPython has been uploaded.
>>
>> Version: 2.9.4.0.b20120530
>> URL: http://wxPython.kosoftworks.com/preview/20120530
>> Changes:
>> http://wxPython.kosoftworks.com/preview/20120530/CHANGES.html
>>
>> Have fun!
>> R'bot
>>
>
> Werner, this build has the origin fix for wx.StaticBox on MSW. Please
> test using widgets as the child of the static box, which are in a
> sizer that is assigned to the static box. The origin is offset from
> the top and sides the number of dialog units suggested by Microsoft in
> their style guide.
>
Will do, but it won't be before middle of next week at the earliest.

Werner

Werner

unread,
Jun 3, 2012, 12:12:55 PM6/3/12
to wxpyth...@googlegroups.com
Hi Robin,

On 31/05/2012 19:00, Robin Dunn wrote:
> On 5/30/12 4:15 PM, R'bot wrote:
>> Hi,
>>
>> A new test build of wxPython has been uploaded.
>>
>> Version: 2.9.4.0.b20120530
>> URL: http://wxPython.kosoftworks.com/preview/20120530
>> Changes:
>> http://wxPython.kosoftworks.com/preview/20120530/CHANGES.html
>>
>> Have fun!
>> R'bot
>>
>
> Werner, this build has the origin fix for wx.StaticBox on MSW. Please
> test using widgets as the child of the static box, which are in a
> sizer that is assigned to the static box. The origin is offset from
> the top and sides the number of dialog units suggested by Microsoft in
> their style guide.
>
It kind of works:-( . If I make the StaticBox proportion=1 and
flag=wx.EXPAND things look fine, but I can't figure out how to size the
SB just large enough for the containing controls.

I attached the code I used for the test, am I still doing something wrong?

Werner
staticboxanddoublebuffer2.py

Robin Dunn

unread,
Jun 4, 2012, 1:14:23 PM6/4/12
to wxpyth...@googlegroups.com
Ok, it looks like the static box's DoGetBestSize needs to check if there
is a sizer and use it. I'll get that done for the next preview.

Ricardo Pedroso

unread,
Jun 5, 2012, 9:58:53 AM6/5/12
to wxpyth...@googlegroups.com
I don't know if it was already reported - I'm not following wxPython
as close as I would like.

There is a missing header file from the wxPython-src-2.9.4.0.b20120530.tar.bz2
It's the include/wx/x11/private/wrapxkb.h

I just grabbed from here:
http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk/include/wx/x11/private/wrapxkb.h

then everything went smooth.

Regargs,
Ricardo

Ricardo Pedroso

unread,
Jun 5, 2012, 11:53:49 AM6/5/12
to wxpyth...@googlegroups.com
Forget to say, this was compiling on linux

Ricardo

Robin Dunn

unread,
Jun 5, 2012, 4:28:39 PM6/5/12
to wxpyth...@googlegroups.com
Thanks. I think that folder was being excluded because it was just for
the wxX11 port, but I guess it is now being included by the wxGTK port
too. I'll remove that exclusion from script that builds the tarball.

Werner

unread,
Jun 11, 2012, 3:44:48 AM6/11/12
to wxpyth...@googlegroups.com
On 04/06/2012 19:14, Robin Dunn wrote:
>
>> It kind of works:-( . If I make the StaticBox proportion=1 and
>> flag=wx.EXPAND things look fine, but I can't figure out how to size the
>> SB just large enough for the containing controls.
>>
>> I attached the code I used for the test, am I still doing something
>> wrong?
>
>
> Ok, it looks like the static box's DoGetBestSize needs to check if
> there is a sizer and use it. I'll get that done for the next preview.
>
What would be the right approach to have a SizedStaticBox?

E.g. for the panel the Python class (wx.PyPanel) is used as a base for
SizedPanel, will there be a PyStaticBox?

Werner

Robin Dunn

unread,
Jun 12, 2012, 1:35:47 PM6/12/12
to wxpyth...@googlegroups.com
Doubtful. It won't be necessary in Phoenix and I'm trying to spend as
little time working on Classic as I can.
Reply all
Reply to author
Forward
0 new messages