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
MS Updated by Marek Szumlas almost 14 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
WD Updated by Wim Dumon almost 14 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.
WD Updated by Wim Dumon almost 14 years ago
Based on your source code, this seems to be a bug in Wt - I will file a bug report
KD Updated by Koen Deforche over 13 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
KD Updated by Koen Deforche over 13 years ago
- Status changed from Resolved to Closed