There is such a code (piece):
int count = data.getCount(); const XYZ* pData = data.getData(); this->CreateGrid(count, 3); this->SetColLabelValue(0, "x"); // тут ругается this->SetColLabelValue(1, "y"); this->SetColLabelValue(2, "z"); for (int i = 0; i < count; i++) { wxString str = ""; str << pData[i].x; this->SetCellValue(i, 0, str); str = ""; // тут тоже ругается str << pData[i].y; this->SetCellValue(i, 1, str); str = ""; str << pData[i].z; this->SetCellValue(i, 2, str); str = ""; } What have I done wrong?