我在wxWidgets中使用代码::块。一般来说,我有一个类似于所描述的问题
here
. 好的,我复制
mathplot.h
和
mathplot.cpp
#include mathplot.h
/usr/include/wx-3.1-unofficial/wx/string.h|303|error: âwxString::wxString(int)â is private|
如何管理这个问题并最终在代码::块中使用wxMathPlot?
/usr/include/wx-3.1-unofficial/wx/string.h: In member function âbool mpWindow::SaveScreenshot(const wxString&, int, wxSize, bool)â:
/usr/include/wx-3.1-unofficial/wx/string.h:303:3: error: âwxString::wxString(int)â is private
wxString(int);
/home/pekov/Workshop/Code::Blocks/tester/mathplot.cpp:2239:47: error: within this context
return screenImage.SaveFile(filename, type);