나는 wxHtmlListBox의 서브 클래스의 TestClass라는 가지고,하지만 난 오류 얻을 :wxWidgets에 : wxString :: wxString (INT)이 컨텍스트 내에서 개인
TestClass *tc = new TestClass(this, wxID_ANY, wxDefaultPosition,
wxDefaultSize, NULL, wxBORDER_DEFAULT);
:
/usr/include/wx-2.8/wx/string.h:682:0 /usr/include/wx-2.8/wx/string.h:682: error: 'wxString::wxString(int)' is private
MainFrame.cpp:106:0 MainFrame.cpp:106: error: within this context
MainFrame.cpp 라인 (106)이있다
TestClass의 파일은 http://cl.ly/1VSo
에서 확인할 수 있습니다.
감사합니다. 나는 그것을 놓쳤다 고 믿을 수 없습니다. 이것과 아래의 토마스의 대답은 모두 훌륭했습니다. –