Hello!

~~~~

Wt::WComboBox* cBox = new Wt::WComboBox(this);
cBox->addItem("item1");

std::cout << "cBox currentText = '" << cBox->currentText() << "'\n";
std::cout << "cBox currentIndex = " << cBox->currentIndex() << "\n";

~~~ returns

cBox currentText = ''
cBox currentIndex = -1

~~~~

Regards,
Aleksey

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to