【发布时间】:2010-06-28 20:55:06
【问题描述】:
我有一个名为 TestClass 的 wxHtmlListBox 子类,但出现错误:
/usr/include/wx-2.8/wx/string.h:682:0 /usr/include/wx-2.8/wx/string.h:682: 错误:'wxString::wxString(int)' 是私人
MainFrame.cpp:106:0 MainFrame.cpp:106: 错误:在此上下文中
MainFrame.cpp 第 106 行是这样的:
TestClass *tc = new TestClass(this, wxID_ANY, wxDefaultPosition,
wxDefaultSize, NULL, wxBORDER_DEFAULT);
TestClass 的文件可以在http://cl.ly/1VSo找到
对此有什么想法吗?
【问题讨论】: