With cvs-version, i'm not able to compile my program: /bin/sh ../libtool --tag=CXX --mode=link g++ -O0 -g3 -o fantasimwt application.o benutzerliste.o chat.o db.o fantasimwt.o flogin.o spiel.o treffpunkt.o -lmysqlpp -lwt -lwtext -lwthttp -lz g++ -O0 -g3 -o fantasimwt application.o benutzerliste.o chat.o db.o fantasimwt.o flogin.o spiel.o treffpunkt.o -lmysqlpp -lwt -lwtext -lwthttp -lz /usr/local/lib/libwt.so: undefined reference to `Wt::WItemSelectionModel::WItemSelectionModel(Wt::WAbstractItemModel*, Wt::WObject*)' /usr/local/lib/libwt.so: undefined reference to `Wt::WDefaultLoadingIndicator::WDefaultLoadingIndicator()' /usr/local/lib/libwt.so: undefined reference to `Wt::WItemSelectionModel::setSelectionBehavior(Wt::SelectionBehavior)' /usr/local/lib/libwt.so: undefined reference to `Wt::WItemSelectionModel::isSelected(Wt::WModelIndex const&) co
Greetings Torsten Koen Deforche schrieb: > Hey Torsten, > > 2008/12/2 Koen Deforche <[EMAIL PROTECTED]>: > >> To set the style class (you can already implement this now, and then >> benefit from the support in WComboBox later): >> > > I was a bit too fast. You first have to change WComboBox'es default > WStringListModel to a more general WStandardItemModel (or other model > that also stores other role data and not just the strings). > > Thus, first you do: > > comboBox->setModel(new WStandardItemModel(0, 1, comboBox)); > > And then: > > >> comboBox->model()->setData(index, 0, boost::any(styleClass), StyleClassRole); >> > > Oh, and this works now with the CVS version! > > Regards, > koen > > ------------------------------------------------------------------------- > 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=/ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > > ------------------------------------------------------------------------- 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=/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
