wxLogMessage("%s.",
wxPlatformInfo::Get().GetOperatingSystemDescription());//system
wxLogMessage("Major = %d, Minor = %d",
wxPlatformInfo::Get().GetOSMajorVersion(),//get major
wxPlatformInfo::Get().GetOSMinorVersion() //get minor
);
wxLogMessage("arch = %d.",
wxPlatformInfo::Get().GetArchitecture());//bit
wxString OsVersion = ::wxGetOsDescription();
wxMessageBox(OsVersion, _("axi Test"));//system
wxwidgets 获取系统信息
最新推荐文章于 2021-07-08 19:29:23 发布