Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make wx and wxagg work with wx 2.9.x on Mac. #1994

Closed
wants to merge 1 commit into from

Conversation

efiring
Copy link
Member

@efiring efiring commented May 13, 2013

This affects the wx* backends on OSX only. It removes Mac-specific
code that was letting the Frame manage the toolbar directly, without
using the Sizer. There was a comment saying that this was needed
for OSX 10.3. With wx 2.9.x, however, this method of handling
the toolbar does not work at all; no toolbar appears, and the
program can hang or otherwise behave erratically. The Sizer
method, however, works.

The big question is whether the Sizer method works on the Mac
with wx 2.8.x. If it does, then this can be merged.

This affects the wx* backends on OSX only.  It removes Mac-specific
code that was letting the Frame manage the toolbar directly, without
using the Sizer.  There was a comment saying that this was needed
for OSX 10.3.  With wx 2.9.x, however, this method of handling
the toolbar does not work at all; no toolbar appears, and the
program can hang or otherwise behave erratically.  The Sizer
method, however, works.

The big question is whether the Sizer method works on the Mac
with wx 2.8.x.  If it does, then this can be merged.
@efiring
Copy link
Member Author

efiring commented May 13, 2013

@pelson, @dmcdougall, I think both of you have Macs. Do either of you have wx 2.8 installed? If so, would you please test this? I have only 2.9.4 cocoa. You should also be able to test the equivalent of this by running embedding_in_wx5.py, which is using the same method of placing the toolbar.

There is still a glitch with 2.9.4 in the drawing of the zoom rectangle; it's ugly, but one can live with it.

@efiring efiring mentioned this pull request May 13, 2013
@efiring
Copy link
Member Author

efiring commented May 14, 2013

It looks like I pushed the wrong branch. I am closing this and have opened #2004.

@efiring efiring closed this May 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant