On Tue, Oct 16, 2012 at 3:53 PM, Paul K <paulclin...@yahoo.com> wrote:
> In the best tradition of answering my own question, the solution was
> easy: create wxStaticBox (or wxStaticBoxSizer) *before* checkboxes are
> created.
>
> There seems to be a bug (or feature) in how the order in event
> traversal is handled and if the staticbox is created after the
> checkboxes, none of the checkboxes get their events on OSX (you can
> still click on the area of the checkbox label if it sticks outside of
> the static box).

The wxStaticBox used to be a little bit of an oddity in that it really
is a container, but you don't add the children to it. In 2.9 the items
inside of it will be added as children of the static box as you would
for a wxPanel.

That was a good find!

Thanks,
    John

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to