TreeEditor crash bug

Simen Haugen simen at norstat.no
Mon Jun 9 09:45:49 PDT 2008


I just tried the same using Table and TableEditor and get a stacktrace then 
too.

"Simen Haugen" <simen at norstat.no> wrote in message 
news:g2jiq4$1ev0$1 at digitalmars.com...
> Here's a small example that quits with a long stacktrace. I'm using dmd 
> 1.030, tango rev. 3543 and dwt rev. 233 on WinXP SP2
>
>
> import dwt.DWT;
> import dwt.layout.FillLayout;
> import dwt.widgets.Display;
> import dwt.widgets.Shell;
> import dwt.widgets.Tree;
> import dwt.custom.TreeEditor;
>
> void main()
> {
> auto display = new Display;
> auto shell = new Shell(display, DWT.NONE);
> shell.setLayout(new FillLayout());
> auto tree = new Tree(shell, DWT.NONE);
> auto ed = new TreeEditor(tree); // Remove this line to avoid crash
>
> shell.open(); // Crashes here
> while( !shell.isDisposed() )
> {
>  if( !display.readAndDispatch() )
>   display.sleep();
> }
> }
>
> 




More information about the Digitalmars-d-dwt mailing list