练习https://zetcode.com/gui/wxwidgets/helperclasses/中的第一个例子时wxPuts函数引发失败,原因是缺少了crt.h文件。
#include <wx/string.h>
#include <wx/crt.h>
int main(int argc,char **argv)
{
wxPuts(wxT("A wxWidgets Console application."));
}
练习https://zetcode.com/gui/wxwidgets/helperclasses/中的第一个例子时wxPuts函数引发失败,原因是缺少了crt.h文件。
#include <wx/string.h>
#include <wx/crt.h>
int main(int argc,char **argv)
{
wxPuts(wxT("A wxWidgets Console application."));
}