[2.9 / OSX Cocoa] Widgets not receiving mouse events

(I erroneously sent this to wx-users initially; my apologies to those
on that list)

I have a lot of widgets that are set up so that when the mouse moves
over them, text is displayed in a Panel instance (allowing for larger
text and better formatting than a simple tooltip can provide). This
worked fine in WX 2.8 with the Carbon build, but seems to have broken
entirely in WX 2.9 with the Cocoa build. Unfortunately I need the
Cocoa build for 64-bit compatibility.

Example app demonstrating the bug: http://pastebin.com/SrL89kXW

In wx 2.8.12.1 this prints a line of text every time the mouse moves
over the StaticText (in addition to clicks, click-drags, etc.). In wx
2.9.3.1 the only time I can get the text to print is if I click on the
text and then drag the mouse.

I did some searches and found this ticket that seems to be related:
http://trac.wxwidgets.org/ticket/12561

The Cocoa build on wxpython.org predates that ticket, though.
Downloading the source code (which took most of an hour as I couldn't
get above 35 KBps for some reason) and running ./configure I
eventually got this:

configure:19415: WARNING: gcc >= 4.2 cannot compile 10.4 compatible
code. Using gcc 4.0 instead.
checking if C compiler works with SDK/version options... configure:
error: no. Try a different SDK

I find building and installing stuff from source by hand to be
intensely aggravating as a general rule (hooray for package
managers!), so I'm stopping there. Any idea when wxpython.org will
have an updated build so I can check to see if this is actually fixed?
My program is something like 90% less usable without proper inline
help.

-Chris

The Cocoa build on wxpython.org predates that ticket, though.
Downloading the source code (which took most of an hour as I couldn't
get above 35 KBps for some reason) and running ./configure I
eventually got this:

configure:19415: WARNING: gcc>= 4.2 cannot compile 10.4 compatible
code. Using gcc 4.0 instead.
checking if C compiler works with SDK/version options... configure:
error: no. Try a different SDK

I find building and installing stuff from source by hand to be
intensely aggravating as a general rule (hooray for package
managers!), so I'm stopping there.

There is a handy-dandy script that will take care of most of the build quirks for you: http://wxpython.org/builddoc.php

Any idea when wxpython.org will
have an updated build so I can check to see if this is actually fixed?
My program is something like 90% less usable without proper inline
help.

Or you can cheat and try the latest 2.9.4 preview build. (https://groups.google.com/d/topic/wxpython-dev/E_JbCS2a1gU/discussion)

···

On 6/14/12 8:01 AM, Chris Weisiger wrote:

--
Robin Dunn
Software Craftsman

Hooray, it works! Many thanks. :slight_smile:

-Chris

···

On Thu, Jun 14, 2012 at 9:11 AM, Robin Dunn <robin@alldunn.com> wrote:

On 6/14/12 8:01 AM, Chris Weisiger wrote:

Any idea when wxpython.org will
have an updated build so I can check to see if this is actually fixed?
My program is something like 90% less usable without proper inline
help.

Or you can cheat and try the latest 2.9.4 preview build.
(https://groups.google.com/d/topic/wxpython-dev/E_JbCS2a1gU/discussion)