main logo
Subject: Re: [dabo-dev] Ugly work-around
Author: Paul McNett

Posted: 2005/11/30 14:30:48
 
View Entire Thread
New Search


Ed Leafe wrote:
> Paul,
>
> Your ugly workaround in dPemMixin is uglier than you thought: it
> breaks dEditor, since the STC editor doesn't have a BaseClass property.
> Now the editor just crashes on startup.
>
> I've just posted a fix. Let me know if this accomplishes the same
> thing.

The with isinstance() (yes, I tried that first) is that, because of the
namespace voodoo we do in dabo.ui, running dabo/ui/uiwx/dGrid.py will result in
isinstance() returning False. I still don't really understand why, exactly, though.

However, when running a normal dabo app from outside the uiwx directory,
isinstance() behaves as expected.

Let's leave it using isinstance(), but I'll have to remember about this problem
and eventually find the fix.

--
Paul McNett
http://paulmcnett.com
http://dabodev.com



 
©2005 Paul McNett
<-- Prior Message New Search Next Message -->