星期三, 七月 01, 2009

wxGridCellAttr SetTextColour windowXP得到异常

wxGridCellAttr SetTextColour exception
wxGridCellAttr *attrRed = new wxGridCellAttr();
attrRed->SetTextColour(wxColour(wxT("#0000ff")));
得到异常。
修改为以下语句则正常工作:

attrRed->SetTextColour(wxColour(0,0,255));