Re: LayoutEditor trouble on Mac?

Neil Hughes <[email protected]> Sun, 12 Oct 2008 10:57:13 +0100
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
On Thu, 9 Oct 2008 17:54:09 -0400 Aaron Stevens <[email protected]> wrote:

> No, I never worked it out. I run Windows XP under Parallels Desktop,  
> so I just gave up and used the windows versions of LayoutEditor.
> I'd love to see a solution if you can work it out!

Well....it looks like the same nested device context limit that is causing the problem with the BitmapCanvas component is also causing the problem with the LayoutEditor. I don't see any error under Windows XP so I guess this limitation has been deliberately restricted to OSX.

Aaron....or anybody running 10.5 (I only have Tiger here, so I hope it's the same cause)....if you run the LayoutEditor from the command line or set the Python launcher to show all error messages in a terminal window, and then load the widgets example, when the window is only partly drawn do you see the stack trace ending with the error about "Cannot nest wxDCs on the same window"?

Also, is anybody seeing the same visible issue in the Resource Editor....where only a part of the window is showing? I just see it in the LayoutEditor but I get the stack trace in both.

I've been able to hack the editor code to stop this and get all of the components showing but I haven't tested it back on my Windows box to see if it breaks anything...and I can't understand why I'm not seeing the same visible issue in the ResourceEditor....just an error message.

-- 
Neil Hughes

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/