|
From: Conrado P. <con...@us...> - 2006-12-11 23:54:12
|
Update of /cvsroot/smartwin/SmartWin/tests/WidgetComboBox In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv22670/tests/WidgetComboBox Modified Files: Main.cpp Log Message: Added removeItem to WidgetComboBox Added redrawItems to WidgetDataGrid Index: Main.cpp =================================================================== RCS file: /cvsroot/smartwin/SmartWin/tests/WidgetComboBox/Main.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- Main.cpp 5 May 2006 21:33:09 -0000 1.9 +++ Main.cpp 11 Dec 2006 23:54:03 -0000 1.10 @@ -57,6 +57,8 @@ assert( comboBox->getCount() == 7 ); assert( comboBox->getValue( 0 ) == _T( "Value1" ) ); assert( comboBox->getValue( 6 ) == _T( "Value7" ) ); + comboBox->removeItem( 6 ); + assert( comboBox->getCount() == 6 ); comboBox->onSelectionChanged( & WidgetTest1::selectionChanged ); |