Support #1599
closedmore than onr WTreeTable in WStackedWidget
0%
Description
it would seem logical to be able to have 2 or more WTreeTables inside a WStackedWidget
is this not allowed ?
i get a segmentation fault on this loop -
Wt::WStackedWidget *sw = new Wt::WStackedWidget();
vector< Wt::WTreeTable* > tt;
for( int i=0; i<3; i ) tt.push_back( new Wt::WTreeTable( sw ));
if this is not allowed - could i put the WTreeTables inside a WTabWidget - one table per tab of course ?
greetings
Marek
Updated by Marek Szumlas almost 12 years ago
sorry - both 'sw' and 'tt' are pointers of course
i thought i made a mistake but the editor threw out the "asteriscs" and the "less than" sign
Updated by Wim Dumon almost 12 years ago
Marek,
Of course it is allowed to put multiple WTreeTables in a WStackedWidget. I have no idea why you get a segmentation fault - can you tell something more about it? A backtrace, or valgrind, or ... ?
BR,
Wim.
Updated by Wim Dumon almost 12 years ago
Based on your source code, this seems to be a bug in Wt - I will file a bug report
Updated by Koen Deforche almost 12 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
Updated by Koen Deforche almost 12 years ago
- Status changed from Resolved to Closed