Linux fixes

This commit is contained in:
Peter Schojer
2008-06-12 08:48:40 +00:00
parent ecefa6121c
commit d9c505331d
12 changed files with 42 additions and 23 deletions

View File

@@ -9,10 +9,10 @@
include $(POCO_BASE)/build/rules/global
objects = ExtJSTestSuite Driver \
<SourceFilesHere>
ExtJSTest
target = testrunner
target_version = 1
target_libs = PocoExtJS PocoFoundation CppUnit
target_libs = PocoExtJS PocoWebWidgets PocoNet PocoXML PocoFoundation CppUnit
include $(POCO_BASE)/build/rules/exec

View File

@@ -1153,7 +1153,7 @@ void ExtJSTest::testFunction()
ptrBut2->setToolTip("click here to disable");
ptrFrm->add(ptrBut2);
TableCellHandler<CheckButtonCell>::Ptr pHandle(new TableCellHandler<CheckButtonCell>("Ext.form.Checkbox", false, true));
pHandle->addDynamic("checked", &CheckButtonCell::getBool);
pHandle->addDynamic<bool>("checked", &CheckButtonCell::getBool);
pHandle->addFixed("dummy", "dummy");
std::ostringstream str;
pHandle->writeData(ptrBut->cell<CheckButtonCell>(), str);